public class DocumentConsumerPolicy extends ConsumerPolicy
ConsumerPolicy.StartOffset
Modifier and Type | Field and Description |
---|---|
protected boolean |
blockAsyncListeners |
protected boolean |
blockDefaultSyncListeners |
protected boolean |
blockIndexing |
protected boolean |
blockPostCommitListeners |
protected boolean |
bulkMode |
batchPolicy, BOUNDED, BOUNDED_RETRY, DEFAULT_NAME, maxThreads, name, NO_RETRY, retryPolicy, salted, skipFailure, startOffset, UNBOUNDED, UNBOUNDED_RETRY, waitMessageTimeout
Constructor and Description |
---|
DocumentConsumerPolicy(DocumentConsumerPolicyBuilder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
blockAsyncListeners() |
boolean |
blockDefaultSyncListeners() |
boolean |
blockIndexing() |
boolean |
blockPostCommitListeners() |
static DocumentConsumerPolicyBuilder |
builder() |
boolean |
bulkMode() |
String |
toString() |
continueOnFailure, getBatchPolicy, getMaxThreads, getName, getRetryPolicy, getStartOffset, getWaitMessageTimeout, isSalted
protected boolean blockIndexing
protected boolean bulkMode
protected boolean blockAsyncListeners
protected boolean blockPostCommitListeners
protected boolean blockDefaultSyncListeners
public DocumentConsumerPolicy(DocumentConsumerPolicyBuilder builder)
public boolean bulkMode()
public boolean blockAsyncListeners()
public boolean blockPostCommitListeners()
public boolean blockDefaultSyncListeners()
public boolean blockIndexing()
public static DocumentConsumerPolicyBuilder builder()
public String toString()
toString
in class ConsumerPolicy
Copyright © 2018 Nuxeo. All rights reserved.