|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CpeCasProcessors
An object that holds configuration that is part of the CPE descriptor. It provides the means of configuring the CPE Processing Pipeline and to tweak performance charactristics of the CPE. It contains a list of CasProcessors that will be strung together into a pipeline by the CPE.
| Method Summary | |
|---|---|
void |
addCpeCasProcessor(CpeCasProcessor aCasProcessor)
Appends new CasProcessor to existing list of CasProcessors |
void |
addCpeCasProcessor(CpeCasProcessor aCasProcessor,
int aInsertPosition)
Inserts a new CasProcessor at an indicated position. |
CpeCasProcessor[] |
getAllCpeCasProcessors()
Returns ALL CpeCasProcessor objects in processing
pipeline. |
int |
getCasPoolSize()
|
int |
getConcurrentPUCount()
Returns number of ProcessingUnits. |
CpeCasProcessor |
getCpeCasProcessor(int aPosition)
Returns CpeCasProcessor found at given position. |
boolean |
getDropCasOnException()
|
int |
getInputQueueSize()
Returns size of the InputQueue. |
int |
getOutputQueueSize()
Returns the size of the OutputQueue. |
void |
removeAllCpeCasProcessors()
Removes ALL CpeCasProcessor objects from processing
pipeline. |
void |
removeCpeCasProcessor(int aPosition)
Removes CpeCasProcessor object from processing
pipeline from a given position. |
void |
setConcurrentPUCount(int aConcurrentPUCount)
Sets ProcessingUnit replication. |
void |
setInputQueueSize(int aOutputQueueSize)
Sets the size of the InputQueue. |
void |
setOutputQueueSize(int aOutputQueueSize)
Sets the size of the OutputQueue. |
void |
setPoolSize(int aPoolSize)
|
| 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 setOutputQueueSize(int aOutputQueueSize)
throws CpeDescriptorException
aOutputQueueSize - -
Output queue size
CpeDescriptorExceptionint getOutputQueueSize()
void setInputQueueSize(int aOutputQueueSize)
throws CpeDescriptorException
aOutputQueueSize - -
queue size
CpeDescriptorExceptionint getInputQueueSize()
void setConcurrentPUCount(int aConcurrentPUCount)
throws CpeDescriptorException
aConcurrentPUCount - -
number of ProcessingUnits(processing threads)
CpeDescriptorExceptionint getConcurrentPUCount()
void addCpeCasProcessor(CpeCasProcessor aCasProcessor,
int aInsertPosition)
throws CpeDescriptorException
aCasProcessor - -
CasProcessor to addaInsertPosition - -
position where to insert the CasProcessor
CpeDescriptorException
void addCpeCasProcessor(CpeCasProcessor aCasProcessor)
throws CpeDescriptorException
aCasProcessor - -
CasProcessor to add
CpeDescriptorException
CpeCasProcessor getCpeCasProcessor(int aPosition)
throws CpeDescriptorException
CpeCasProcessor found at given position.
aPosition - -
position of the CasProcessor
CpeCasProcessor
CpeDescriptorException
CpeCasProcessor[] getAllCpeCasProcessors()
throws CpeDescriptorException
CpeCasProcessor objects in processing
pipeline.
CpeCasProcessor
CpeDescriptorException
void removeCpeCasProcessor(int aPosition)
throws CpeDescriptorException
CpeCasProcessor object from processing
pipeline from a given position.
aPosition - -
position of the CasProcessor in the pipeline
CpeDescriptorException
void removeAllCpeCasProcessors()
throws CpeDescriptorException
CpeCasProcessor objects from processing
pipeline.
CpeDescriptorException
void setPoolSize(int aPoolSize)
throws CpeDescriptorException
CpeDescriptorExceptionint getCasPoolSize()
boolean getDropCasOnException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||