object Policy
- Companion
- class
class Object
trait Matchable
class Any
Type members
Classlikes
Value members
Concrete methods
def common[E](rateLimiter: RateLimiter, bulkhead: Bulkhead, circuitBreaker: CircuitBreaker[E], retry: Retry[E]): Policy[E]
Creates a common rezilience policy that wraps calls with a bulkhead, followed by a circuit breaker, followed by a rate limiter, followed by a retry policy.
Creates a common rezilience policy that wraps calls with a bulkhead, followed by a circuit breaker, followed by a rate limiter, followed by a retry policy.
i.e. retry(withRateLimiter(withCircuitBreaker(withBulkhead(effect)))
Each of these wraps are optional by the default values for these three policies being noop versions