|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CasProcessorErrorRateThreshold
An object to contains configuration specific to error handling applicable to every CasProcessor. It provides the means of configuring error thresholds and a strategy to deal with them when thresholds are exceeded.
Method Summary | |
---|---|
String |
getAction()
Returns strategy for dealing with exceeding error thresholds. |
int |
getMaxErrorCount()
Returns max number of errors tolerated by the CPE. |
int |
getMaxErrorSampleSize()
Returns sample size. |
void |
setAction(String aAction)
Sets a strategy for dealing with exceeding error thresholds. |
void |
setMaxErrorCount(int aErrorCount)
Sets the max number of errors tolerated by the CPE. |
void |
setMaxErrorSampleSize(int aSampleSize)
Sets the sample size. |
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 setMaxErrorCount(int aErrorCount)
aErrorCount
- -
max tolerated errors for CasProcessorint getMaxErrorCount()
void setMaxErrorSampleSize(int aSampleSize)
aSampleSize
- int getMaxErrorSampleSize()
void setAction(String aAction)
aAction
- -
action to takeString getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |