|
Resilient
|
Interface to specify the algorithm the Circuitbreaker should use.
More...
#include <circuitbreaker.hpp>
Public Member Functions | |
| virtual bool | allowCall ()=0 |
| Check whether the next call should be execute or should short circuit to failure. More... | |
| virtual void | registerFailure ()=0 |
| Notify the algorithm that an execution resulted in failure. | |
| virtual void | registerSuccess ()=0 |
| Notify the algorithm that an execution resulted in success. | |
Interface to specify the algorithm the Circuitbreaker should use.
|
pure virtual |
Check whether the next call should be execute or should short circuit to failure.
Implemented in resilient::CountStrategy< Clock >.
1.8.11