|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CasProcessorMaxRestarts
An object that holds configuration related to handling max restarts for CasProcessors. It provides the means of configuring threshold for max restart tolerance, and defining a strategy to apply when thresholds are exceeded. Used when constucting a CPE descriptor.
Method Summary | |
---|---|
String |
getAction()
Returns a strategy to apply by the CPE when max restart count is exceeded. |
int |
getRestartCount()
Returns max restarts threshold fro CasProcessor |
int |
getWaitTimeBetweenRetries()
|
void |
setAction(String aAction)
Sets a strategy to apply by the CPE when max restart count is exceeded. |
void |
setRestartCount(int aRestartCount)
Sets max tolerated restarts threshold for CasProcessor |
void |
setWaitTimeBetweenRetries(int i)
|
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Method Detail |
---|
void setRestartCount(int aRestartCount)
aRestartCount
- -
max restart countint getRestartCount()
void setAction(String aAction)
aAction
- -
action to takeString getAction()
int getWaitTimeBetweenRetries()
void setWaitTimeBetweenRetries(int i)
i
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |