|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.collection.impl.metadata.cpe.CasProcessorErrorHandlingImpl
public class CasProcessorErrorHandlingImpl
| Constructor Summary | |
|---|---|
CasProcessorErrorHandlingImpl()
|
|
| Method Summary | |
|---|---|
CasProcessorErrorRateThreshold |
getErrorRateThreshold()
Returns max number of restarts allowed for a CasProcessor and an action to take by the CPE in case the threshold is reached. |
CasProcessorMaxRestarts |
getMaxConsecutiveRestarts()
Returns max number of restarts allowed for a CasProcessor and an action to take by the CPE in case the threshold is reached. |
CasProcessorTimeout |
getTimeout()
Returns the timeout the CPE will wait for a response from CasProcessor. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setErrorRateThreshold(CasProcessorErrorRateThreshold aCasPErrorThreshold)
Sets max number of errors allowed for a CasProcessor and an action to take by the CPE in case the threshold is reached. |
void |
setMaxConsecutiveRestarts(CasProcessorMaxRestarts aCasPRestarts)
Sets max number of restarts allowed for a CasProcessor and an action to take by the CPE in case the threshold is reached. |
void |
setTimeout(CasProcessorTimeout aTimeout)
Sets the timeout the CPE will wait for a response from CasProcessor. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public CasProcessorErrorHandlingImpl()
| Method Detail |
|---|
public void setMaxConsecutiveRestarts(CasProcessorMaxRestarts aCasPRestarts)
CasProcessorErrorHandling
setMaxConsecutiveRestarts in interface CasProcessorErrorHandlingaCasPRestarts - -
CasProcessorMaxRestarts instancepublic CasProcessorMaxRestarts getMaxConsecutiveRestarts()
CasProcessorErrorHandling
getMaxConsecutiveRestarts in interface CasProcessorErrorHandlingCasProcessorMaxRestarts instancepublic void setErrorRateThreshold(CasProcessorErrorRateThreshold aCasPErrorThreshold)
CasProcessorErrorHandling
setErrorRateThreshold in interface CasProcessorErrorHandlingaCasPErrorThreshold - -
CasProcessorErrorRateThresholdpublic CasProcessorErrorRateThreshold getErrorRateThreshold()
CasProcessorErrorHandling
getErrorRateThreshold in interface CasProcessorErrorHandlingCasProcessorErrorRateThreshold instancepublic void setTimeout(CasProcessorTimeout aTimeout)
CasProcessorErrorHandling
setTimeout in interface CasProcessorErrorHandlingaTimeout - CasProcessorTimeoutpublic CasProcessorTimeout getTimeout()
CasProcessorErrorHandling
getTimeout in interface CasProcessorErrorHandlingCasProcessorTimeout instanceprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo in class MetaDataObject_impl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||