public interface FailureCache
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCount(java.lang.String identifier)
Get the current error count.
|
void |
increaseErrorCount(java.lang.String identifier)
Increases the error count by one.
|
void |
resetErrorCount(java.lang.String identifier)
Reset the error count back to zero.
|
int getErrorCount(java.lang.String identifier)
identifier - the identifier for which the error count is requestedvoid resetErrorCount(java.lang.String identifier)
identifier - the identifier for which the error count should be
resetvoid increaseErrorCount(java.lang.String identifier)
identifier - the identifier for which the error count should be
increased