|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.curator.framework.recipes.queue.QueueSharderPolicies.Builder
public static class QueueSharderPolicies.Builder
| Method Summary | |
|---|---|
QueueSharderPolicies |
build()
|
QueueSharderPolicies.Builder |
maxQueues(int maxQueues)
Change the maximum number of queues to create. |
QueueSharderPolicies.Builder |
newQueueThreshold(int newQueueThreshold)
Change the queue threshold. |
QueueSharderPolicies.Builder |
threadFactory(java.util.concurrent.ThreadFactory threadFactory)
Change the thread factory that's used to create the sharder's thread |
QueueSharderPolicies.Builder |
thresholdCheckMs(int thresholdCheckMs)
Change the threshold check. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public QueueSharderPolicies.Builder newQueueThreshold(int newQueueThreshold)
QueueSharderPolicies.DEFAULT_QUEUE_THRESHOLD
newQueueThreshold - new value
public QueueSharderPolicies.Builder thresholdCheckMs(int thresholdCheckMs)
QueueSharderPolicies.DEFAULT_THRESHOLD_CHECK_MS
thresholdCheckMs - period in milliseconds
public QueueSharderPolicies.Builder maxQueues(int maxQueues)
QueueSharderPolicies.DEFAULT_MAX_QUEUES
maxQueues - the new max
public QueueSharderPolicies.Builder threadFactory(java.util.concurrent.ThreadFactory threadFactory)
threadFactory - new factory
public QueueSharderPolicies build()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||