Interface ILogTail

  • All Known Implementing Classes:
    LogTail

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getData()
      Gets the last block(s) of the errorLog.
      java.lang.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

        java.lang.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

        java.util.List<java.lang.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