Interface OutputQueue
- All Superinterfaces:
Cloneable
,MetaDataObject
,Serializable
,XMLizable
An object that holds configuration that is part of the CPE descriptor. It provides the means of
configuring CPE output queue that is shared between processing pipelines and cas consumers
-
Method Summary
Modifier and TypeMethodDescriptionint
Milliseconds to wait for new messageClass name of the queue object to be used as Output Queuevoid
setDequeueTimeout
(int i) Define the time (in ms) to wait for a new messagevoid
setQueueClass
(String string) Define a class for a queue objectMethods 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 Details
-
getDequeueTimeout
int getDequeueTimeout()Milliseconds to wait for new message- Returns:
- - ms to wait for message
-
getQueueClass
String getQueueClass()Class name of the queue object to be used as Output Queue- Returns:
- - name of the queue class
-
setDequeueTimeout
void setDequeueTimeout(int i) Define the time (in ms) to wait for a new message- Parameters:
i
- the time (in ms) to wait for a new message
-
setQueueClass
Define a class for a queue object- Parameters:
string
- - name of the queue class
-