All Superinterfaces:
FtHandler

public interface Retry extends FtHandler
Retry supports retry policies to be applied on an execution of asynchronous tasks.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Fluent API builder for Retry.
    static class 
    A retry policy that prolongs the delays between retries by a defined factor.
    static class 
    A retry policy that randomizes delays between execution using a "jitter" time.
    static interface 
    Retry policy to handle delays between retries.
  • Method Summary

    Modifier and Type
    Method
    Description
    A new builder to customize Retry configuration.
    long
    Number of times a method called has been retried.

    Methods inherited from interface io.helidon.nima.faulttolerance.FtHandler

    invoke, name
  • Method Details

    • builder

      static Retry.Builder builder()
      A new builder to customize Retry configuration.
      Returns:
      a new builder
    • retryCounter

      long retryCounter()
      Number of times a method called has been retried. This is a monotonically increasing counter over the lifetime of the handler.
      Returns:
      number ot times a method is retried.