Class ErrorMap.RetrySpecification

java.lang.Object
com.couchbase.client.core.io.netty.kv.ErrorMap.RetrySpecification
Enclosing class:
ErrorMap

public static class ErrorMap.RetrySpecification extends Object
  • Constructor Details

    • RetrySpecification

      public RetrySpecification(ErrorMap.RetryStrategy strategy, int interval, int after, int maxDuration, int ceil)
      Creates a new retry specification, usually called from jackson.
      Parameters:
      strategy - the converted strategy.
      interval - the retry interval.
      after - after which time the retry should happen.
      maxDuration - the maximum duration of the retry.
      ceil - the ceiling of the retry delay.
  • Method Details

    • strategy

      public ErrorMap.RetryStrategy strategy()
    • interval

      public long interval()
    • after

      public long after()
    • maxDuration

      public long maxDuration()
    • ceil

      public long ceil()
    • toString

      public String toString()
      Overrides:
      toString in class Object