public class DocumentStream
extends java.lang.Object
Constructor and Description |
---|
DocumentStream(java.lang.Thread streamThread,
DocumentProvider provider,
CasConsumer consumer,
java.lang.String queueName) |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(CollectionDocument doc) |
void |
flush() |
CasConsumer |
getConsumer() |
java.lang.String |
getQueueName() |
java.lang.Thread |
getStreamThread() |
public DocumentStream(java.lang.Thread streamThread, DocumentProvider provider, CasConsumer consumer, java.lang.String queueName)
public void addDocument(CollectionDocument doc)
public java.lang.Thread getStreamThread()
public void flush()
public CasConsumer getConsumer()
public java.lang.String getQueueName()