public interface FailureCache
Modifier and Type | Method and Description |
---|---|
int |
getErrorCount(String identifier)
Get the current error count.
|
void |
increaseErrorCount(String identifier)
Increases the error count by one.
|
void |
resetErrorCount(String identifier)
Reset the error count back to zero.
|
int getErrorCount(String identifier)
identifier
- the identifier for which the error count is requestedvoid resetErrorCount(String identifier)
identifier
- the identifier for which the error count should be
resetvoid increaseErrorCount(String identifier)
identifier
- the identifier for which the error count should be
increasedCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.