|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.admin.LogTail
public class LogTail
Default implementation of the ILogTail interface.
Constructor Summary | |
---|---|
LogTail(String logFilePath,
long offset,
List<String> data)
|
Method Summary | |
---|---|
List<String> |
getData()
Gets the last block(s) of the errorLog. |
String |
getLogFilePath()
Gets the log file path. |
long |
getOffset()
Gets the offset required to get the next block when it becomes available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogTail(String logFilePath, long offset, List<String> data)
Method Detail |
---|
public String getLogFilePath()
ILogTail
By default, it's set to null, which is not valid.
getLogFilePath
in interface ILogTail
ILogTail.getLogFilePath()
public long getOffset()
ILogTail
By default, it is set to -1, which is not valid (same as not setting the offset).
getOffset
in interface ILogTail
ILogTail.getOffset()
public List<String> getData()
ILogTail
By default, it is set to null, which is not valid.
getData
in interface ILogTail
ILogTail.getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |