Class ErrorStrategy.Result

java.lang.Object
com.launchdarkly.eventsource.ErrorStrategy.Result
Enclosing class:
ErrorStrategy

public static class ErrorStrategy.Result extends Object
  • Constructor Details

  • Method Details

    • getAction

      public ErrorStrategy.Action getAction()
      Returns the action that EventSource should take.
      Returns:
      the action specified by the strategy
    • getNext

      public ErrorStrategy getNext()
      Returns the strategy instance to be used for the next retry, or null to use the same instance as last time.
      Returns:
      a new instance or null