Class FixedDelayBackoffStrategy

    • Method Detail

      • computeDelayBeforeNextRetry

        public Duration computeDelayBeforeNextRetry​(RetryPolicyContext context)
        Deprecated.
        Description copied from interface: BackoffStrategy
        Compute the delay before the next retry request. This strategy is only consulted when there will be a next retry.
        Specified by:
        computeDelayBeforeNextRetry in interface BackoffStrategy
        Parameters:
        context - Context about the state of the last request and information about the number of requests made.
        Returns:
        Amount of time in milliseconds to wait before the next attempt. Must be non-negative (can be zero).
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object