|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
org.apache.uima.resourceSpecifier.factory.impl.ProcessErrorHandlingSettingsImpl
public class ProcessErrorHandlingSettingsImpl
The Class ProcessErrorHandlingSettingsImpl.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl |
---|
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.ErrorHandlingSettings |
---|
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout |
Constructor Detail |
---|
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 windowMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |