Class RetryStrategy

  • All Implemented Interfaces:
    java.io.Serializable

    @Internal
    public class RetryStrategy
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RetryStrategy​(int initialRetryDelay, int maxRetryDelay)  
    • Constructor Detail

      • RetryStrategy

        public RetryStrategy​(int initialRetryDelay,
                             int maxRetryDelay)
    • Method Detail

      • withRetryableException

        public RetryStrategy withRetryableException​(java.lang.Class<? extends java.lang.Exception> ex)
      • retry

        public void retry​(java.lang.Runnable what)
      • retry

        public <T> T retry​(Factory<T> what)