Class WriteRetriableErrorEvent

java.lang.Object
com.influxdb.client.write.events.AbstractWriteEvent
com.influxdb.client.write.events.WriteRetriableErrorEvent

public final class WriteRetriableErrorEvent extends AbstractWriteEvent
The event is published when occurs a retriable write exception.
Author:
Jakub Bednar (bednar@github) (05/03/2019 09:46)
  • Constructor Details

    • WriteRetriableErrorEvent

      public WriteRetriableErrorEvent(@Nonnull Throwable throwable, @Nonnull Long retryInterval)
  • Method Details

    • getThrowable

      @Nonnull public Throwable getThrowable()
      Returns:
      the exception that was throw
    • getRetryInterval

      @Nonnull public Long getRetryInterval()
      Returns:
      the time to wait before retry unsuccessful write (milliseconds)
    • logEvent

      public void logEvent()
      Description copied from class: AbstractWriteEvent
      Log current event by Logger.
      Specified by:
      logEvent in class AbstractWriteEvent