Class CustomBackOff

java.lang.Object
io.smallrye.faulttolerance.core.retry.CustomBackOff
All Implemented Interfaces:
BackOff

public class CustomBackOff extends Object implements BackOff
  • Constructor Details

  • Method Details

    • getInMillis

      public long getInMillis(Throwable cause)
      Specified by:
      getInMillis in interface BackOff
      Parameters:
      cause - exception causing the retry attempt before which the delay occurs
      Returns:
      non-negative number