Interface OutputQueue
-
- All Superinterfaces:
Cloneable
,MetaDataObject
,Serializable
,XMLizable
- All Known Implementing Classes:
OutputQueue_impl
public interface OutputQueue extends MetaDataObject
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDequeueTimeout()
Milliseconds to wait for new messageString
getQueueClass()
Class 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 object-
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
-
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
void setQueueClass(String string)
Define a class for a queue object- Parameters:
string
- - name of the queue class
-
-