|
||||||||||
| 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()
ILogTailBy default, it's set to null, which is not valid.
getLogFilePath in interface ILogTailILogTail.getLogFilePath()public long getOffset()
ILogTailBy default, it is set to -1, which is not valid (same as not setting the offset).
getOffset in interface ILogTailILogTail.getOffset()public List<String> getData()
ILogTailBy default, it is set to null, which is not valid.
getData in interface ILogTailILogTail.getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||