public class DocumentProducer extends Producer<DocumentEvent>
Producer that produces DocumentEvents.
TODO appng-search is the better place for thisProducer| Constructor and Description |
|---|
DocumentProducer(Class<? extends Analyzer> analyzerClass,
String name)
Creates a new
DocumentProducer with a queue size of 500 |
DocumentProducer(int queueSize,
Class<? extends Analyzer> analyzerClass,
String name)
Creates a new
DocumentProducer |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Analyzer> |
getAnalyzerClass()
Returns the type of the
Analyzer used by this DocumentProducer. |
String |
getName() |
get, get, getBlockingQueue, getWithTimeout, put, put, putWithTimeoutpublic DocumentProducer(int queueSize,
Class<? extends Analyzer> analyzerClass,
String name)
DocumentProducerqueueSize - the queue size for this produceranalyzerClass - the type of the Analyzer to use for indexing the documentname - the name for this producerpublic DocumentProducer(Class<? extends Analyzer> analyzerClass, String name)
DocumentProducer with a queue size of 500analyzerClass - the type of the Analyzer to use for indexing the documentname - the name for this producerCopyright © 2011–2019 aiticon GmbH. All rights reserved.