public class DocumentConsumerPool<M extends Message> extends ConsumerPool<M>
AbstractCallablePool.NamedThreadFactory| Modifier and Type | Field and Description |
|---|---|
protected static String |
BINARY_LISTENER |
protected boolean |
blockAsync |
protected boolean |
blockPostCommit |
protected boolean |
bulkMode |
protected static String |
DUBLICORE_LISTENER |
protected static String |
INDEXING_LISTENER |
protected boolean |
listenerBinaryEnabled |
protected boolean |
listenerDublincoreEnabled |
protected boolean |
listenerIndexingEnabled |
protected boolean |
listenerMimeEnabled |
protected boolean |
listenerNotifEnabled |
protected boolean |
listenerTplEnabled |
protected boolean |
listenerUidEnabled |
protected static String |
MIME_LISTENER |
protected static String |
NOTIF_LISTENER |
protected DocumentConsumerPolicy |
policy |
protected static String |
TPL_LISTENER |
protected static String |
UID_LISTENER |
defaultAssignments, factory, logName, managernbThreads, supplyThreadPool, threadPool| Constructor and Description |
|---|
DocumentConsumerPool(String logName,
LogManager manager,
ConsumerFactory<M> factory,
ConsumerPolicy consumerPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected boolean |
disableSyncListener(EventServiceAdmin eventAdmin,
String name) |
afterCall, computeNbThreads, getCallable, getConsumerGroupName, getDefaultAssignments, getErrorStatus, getThreadPrefixgetNbThreads, runPool, startprotected static final String NOTIF_LISTENER
protected static final String MIME_LISTENER
protected static final String INDEXING_LISTENER
protected static final String DUBLICORE_LISTENER
protected static final String TPL_LISTENER
protected static final String BINARY_LISTENER
protected static final String UID_LISTENER
protected boolean blockAsync
protected final DocumentConsumerPolicy policy
protected boolean blockPostCommit
protected boolean bulkMode
protected boolean listenerIndexingEnabled
protected boolean listenerNotifEnabled
protected boolean listenerMimeEnabled
protected boolean listenerDublincoreEnabled
protected boolean listenerTplEnabled
protected boolean listenerBinaryEnabled
protected boolean listenerUidEnabled
public DocumentConsumerPool(String logName, LogManager manager, ConsumerFactory<M> factory, ConsumerPolicy consumerPolicy)
protected boolean disableSyncListener(EventServiceAdmin eventAdmin, String name)
public void close() throws Exception
close in interface AutoCloseableclose in class AbstractCallablePool<ConsumerStatus>ExceptionCopyright © 2018 Nuxeo. All rights reserved.