Class DatadogLogsQuery.DatadogLogTail

java.lang.Object
codes.grow.packages.datadoglogs.DatadogLogsQuery.DatadogLogTail
All Implemented Interfaces:
TailHandle, AutoCloseable
Enclosing class:
DatadogLogsQuery

public static final class DatadogLogsQuery.DatadogLogTail extends Object implements TailHandle
  • Method Details

    • isRunning

      public boolean isRunning()
      Returns whether the poll thread is still running.
      Returns:
      true while polling
    • error

      public Optional<DatadogLogsException> error()
      Returns the non-retryable error that ended the tail.
      Returns:
      the error, or empty (stopped or still running)
    • stop

      public void stop()
      Description copied from interface: TailHandle
      Stops the subscription; idempotent.
      Specified by:
      stop in interface TailHandle