Interface OutputQueue
- All Superinterfaces:
Cloneable
,MetaDataObject
,Serializable
,XMLizable
- All Known Implementing Classes:
OutputQueue_impl
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
void
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()- Returns:
- milliseconds to wait for new message
-
getQueueClass
String getQueueClass()- Returns:
- class name of the queue object to be used as Output Queue
-
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
-