Uses of Class
io.github.teceli.resiliencia.compose.Policy
Packages that use Policy
-
Uses of Policy in io.github.teceli.resiliencia.compose
Methods in io.github.teceli.resiliencia.compose that return PolicyModifier and TypeMethodDescriptionAdd another pattern to this policy.static <T> Policy<T> Create a policy with a single pattern.static <T> Policy<T> Policy.useOptimumOrder(Resilient<T>... patterns) Create a policy from the given patterns, composed in the library's optimum order regardless of the order they are passed in — outermost to innermost: RateLimiter, CircuitBreaker, Bulkhead, Retry, Timeout.Policy.withListener(ResilienceEvent.Listener listener) Add a listener notified of everyPolicyValidationWarningemitted by this instance.