public class ProcessErrorHandlingSettingsImpl extends ErrorHandlingSettingsImpl implements ProcessErrorHandlingSettings
Constructor and Description |
---|
ProcessErrorHandlingSettingsImpl()
Instantiates a new process error handling settings impl.
|
ProcessErrorHandlingSettingsImpl(int retryCount,
int timeout,
Action action,
boolean continueOnRetruFailure,
int thresholdCount,
int thresholdWindow)
Instantiates a new process error handling settings impl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
continueOnRetryFailure()
Continue on retry failure.
|
int |
getThresholdCount()
Gets the threshold count.
|
int |
getThresholdWindow()
Gets the threshold window.
|
void |
setContinueOnRetryFailure(boolean continueOnRetryFailure)
Sets the continue on retry failure.
|
void |
setThresholdCount(int thresholdCount)
Sets the threshold count.
|
void |
setThresholdWindow(int thresholdWindow)
Sets the threshold window.
|
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
public ProcessErrorHandlingSettingsImpl()
public ProcessErrorHandlingSettingsImpl(int retryCount, int timeout, Action action, boolean continueOnRetruFailure, int thresholdCount, int thresholdWindow)
retryCount
- the retry counttimeout
- the timeoutaction
- the actioncontinueOnRetruFailure
- the continue on retru failurethresholdCount
- the threshold countthresholdWindow
- the threshold windowpublic void setContinueOnRetryFailure(boolean continueOnRetryFailure)
ProcessErrorHandlingSettings
setContinueOnRetryFailure
in interface ProcessErrorHandlingSettings
continueOnRetryFailure
- the new continue on retry failurepublic boolean continueOnRetryFailure()
ProcessErrorHandlingSettings
continueOnRetryFailure
in interface ProcessErrorHandlingSettings
public void setThresholdCount(int thresholdCount)
ProcessErrorHandlingSettings
setThresholdCount
in interface ProcessErrorHandlingSettings
thresholdCount
- the new threshold countpublic int getThresholdCount()
ProcessErrorHandlingSettings
getThresholdCount
in interface ProcessErrorHandlingSettings
public void setThresholdWindow(int thresholdWindow)
ProcessErrorHandlingSettings
setThresholdWindow
in interface ProcessErrorHandlingSettings
thresholdWindow
- the new threshold windowpublic int getThresholdWindow()
ProcessErrorHandlingSettings
getThresholdWindow
in interface ProcessErrorHandlingSettings
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.