com.perforce.p4java.admin
Interface ILogTail

All Known Implementing Classes:
LogTail

public interface ILogTail

Defines the last block(s) of the errorLog.


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.
 

Method Detail

getLogFilePath

String getLogFilePath()
Gets the log file path.

By default, it's set to null, which is not valid.

Returns:
the log file path

getOffset

long getOffset()
Gets the offset required to get the next block when it becomes available.

By default, it is set to -1, which is not valid (same as not setting the offset).

Returns:
the offset bytes

getData

List<String> getData()
Gets the last block(s) of the errorLog.

By default, it is set to null, which is not valid.

Returns:
the log data


Copyright © 2015 Perforce Software. All Rights Reserved.