K - the type of the conflation keyV - the type of elements in the queuepublic static interface ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V>
ExchangeConflationQueue subtypes.| Modifier and Type | Method and Description |
|---|---|
ExchangeConflationQueue<K,V> |
build(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory)
Builds and returns a new exchange conflation queue instance using the given queue factory for the backing
queue.
|
ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V> |
withAppenderListener(java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> listenerSupplier)
Register a listener as created by the specified supplier when creating queue appenders.
|
ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V> |
withPollerListener(java.util.function.Supplier<? extends PollerListener<? super K,? super V>> listenerSupplier)
Register a listener as created by the specified supplier when creating queue pollers.
|
ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V> withAppenderListener(java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> listenerSupplier)
AppenderListener.threadLocalSupplier(Supplier).listenerSupplier - a listener supplier acting as listener factoryConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V> withPollerListener(java.util.function.Supplier<? extends PollerListener<? super K,? super V>> listenerSupplier)
PollerListener.threadLocalSupplier(Supplier).listenerSupplier - a listener supplier acting as listener factoryExchangeConflationQueue<K,V> build(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory)
queueFactory - the factory to create the backing queue