public class CpcErrorHandler extends ErrorHandlerBase implements ErrorHandler
endpointThresholdMapCONTINUE, DISABLE, DROPCAS, ENABLE, PROPAGATE, RETRY, RETRY_COUNT, TERMINATE| Constructor and Description |
|---|
CpcErrorHandler(java.util.Map aDelegateMap) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getEndpointThresholdMap() |
boolean |
handleError(java.lang.Throwable t,
ErrorContext anErrorContext,
AnalysisEngineController aController) |
static void |
main(java.lang.String[] args) |
continueOnError, exceedsThreshold, exceedsThreshold, exceedsThresholdWithinWindow, getAction, getDelegateKey, getEndpointName, getThreshold, getThreshold, incrementStatistic, isHandlerForError, isValidActionForController, retryLastCommand, shouldRetrypublic java.util.Map getEndpointThresholdMap()
getEndpointThresholdMap in interface ErrorHandlergetEndpointThresholdMap in class ErrorHandlerBasepublic boolean handleError(java.lang.Throwable t,
ErrorContext anErrorContext,
AnalysisEngineController aController)
handleError in interface ErrorHandlerpublic static void main(java.lang.String[] args)
args - Copyright © 2012. All Rights Reserved.