Interface ResilientValueConfig<T>

Type Parameters:
T - type of the loaded value

public interface ResilientValueConfig<T>
Configuration of a ResilientValue.
  • Method Details

    • description

      String description()
      Safe description of the value, used in messages and logs.
      Returns:
      value description
    • loader

      Supplier<T> loader()
      Supplier that loads the value.
      Returns:
      value loader
    • retry

      Retry retry()
      Retry handler.
      Returns:
      retry handler
    • circuitBreaker

      CircuitBreaker circuitBreaker()
      Circuit breaker handler.
      Returns:
      circuit breaker handler
    • timeout

      Timeout timeout()
      Timeout handler applied to each load attempt.
      Returns:
      timeout handler