public class GetMetaErrorHandler extends ErrorHandlerBase implements ErrorHandler
endpointThresholdMap
CONTINUE, DISABLE, DROPCAS, ENABLE, PROPAGATE, RETRY, RETRY_COUNT, TERMINATE
Constructor and Description |
---|
GetMetaErrorHandler(Map aDelegateMap) |
Modifier and Type | Method and Description |
---|---|
Map |
getEndpointThresholdMap() |
boolean |
handleError(Throwable t,
ErrorContext anErrorContext,
AnalysisEngineController aController) |
static void |
main(String[] args) |
continueOnError, exceedsThreshold, exceedsThreshold, exceedsThresholdWithinWindow, getAction, getDelegateKey, getEndpointName, getThreshold, getThreshold, incrementStatistic, isHandlerForError, isValidActionForController, retryLastCommand, shouldRetry
public GetMetaErrorHandler(Map aDelegateMap)
public Map getEndpointThresholdMap()
getEndpointThresholdMap
in interface ErrorHandler
getEndpointThresholdMap
in class ErrorHandlerBase
public boolean handleError(Throwable t, ErrorContext anErrorContext, AnalysisEngineController aController)
handleError
in interface ErrorHandler
public static void main(String[] args)
args
- Copyright © 2017. All rights reserved.