Resilient
|
▼Nresilient | |
▼Nretry | |
CAlwaysRetry | A State which always allows to retry |
CConstructState | A factory which construct a RetryState each time a new one is requested |
CNoMoreRetriesLeft | Type returned when the state does not allow to retry anymore |
CReferenceState | Factory which returns references to the same state |
Cretriedtask_failure | Tag type which contains a Failure type |
CRetries | State to allow to retry a fixed number of times |
CRetry | Reduce the impact of tasks failing due to transient failures |
Cretry_after | Specify how long to wait before the next retry |
CWillNeverHappenToStopRetries | This type will never be returned because resilient::AlwaysRetry always retries |
CAlways | A detector which always detects failure |
CAlwaysError | The type returned as failure by the Always detector |
CAny | Combine a group of detector, detecting a failure if any of them detect a failure |
CBlockingFixedConcurrentExecutionsStrategy | Allow at most a fixed amount of executions to happen at the same time |
CCircuitbreaker | Fail-fast when tasks are consistently failing |
CCircuitbreakerIsOpen | Indicate a failure because the Circuitbreaker was open |
CCountStrategy | Open the circuit breaker if a number of failures happen over a time intervall |
CErrorReturn | Type returned by Returns when the detected function returns the expected value |
CExceptionThrown | Type returned by Throws when the detected function throws the expected exception |
CFailable | A class to represent the result of an operation which might fail |
CFailureDetectorTag | Helper struct which defines the required types for the detector concept |
CICallResult | Interface to represent the result of calling a detected function |
CICircuitbreakerStrategy | Interface to specify the algorithm the Circuitbreaker should use |
CIRateLimiterStrategy | Interface to specify the algorithm the Ratelimiter should use |
CMaxConcurrentPermit | A permit for a concurrent execution |
CNever | A detector which never detects failure |
CNoFailure | Type returned by the detectors when no failure is detected |
CNoop | A Policy which simply invokes the task |
CNoState | Type representing that the detector does not need any state |
CPermitAcquireTimeout | Error returned when acquiring a permit for the Ratelimiter takes too long |
CPipeline | Define a sequence of polices, which will be executed in order |
CRatelimiter | Execute a Task limiting the times it can be executed following a strategy |
CReturns | A detector which detect whether a function returns a specific value |
CStatelessDetector | An helper base detector to simplify writing stateless detectors |
CTask | Create a task from a callable, using a Detector to detect failures |
CThrows | A detector which detect whether a function throws an exception of a given type |