Interface ILogTail

All Known Implementing Classes:
LogTail

public interface ILogTail
Defines the last block(s) of the errorLog.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the last block(s) of the errorLog.
    Gets the log file path.
    long
    Gets the offset required to get the next block when it becomes available.
  • Method Details

    • 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