Class ErrorMap.RetrySpecification

  • Enclosing class:
    ErrorMap

    public static class ErrorMap.RetrySpecification
    extends Object
    • Constructor Detail

      • 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 Detail

      • interval

        public long interval()
      • after

        public long after()
      • maxDuration

        public long maxDuration()
      • ceil

        public long ceil()