class ConflationQueueBuilderImpl.EvictConflationQueueBuilder extends java.lang.Object implements ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V>
EvictConflationQueue.| Constructor and Description |
|---|
EvictConflationQueueBuilder() |
| 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.
|
ConflationQueueBuilderImpl.EvictConflationQueueBuilder |
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.
|
ConflationQueueBuilderImpl.EvictConflationQueueBuilder |
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.
|
EvictConflationQueueBuilder()
public ConflationQueueBuilderImpl.EvictConflationQueueBuilder withAppenderListener(java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> listenerSupplier)
ConflationQueueBuilder.ExchangeConflationQueueBuilderAppenderListener.threadLocalSupplier(Supplier).withAppenderListener in interface ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V>listenerSupplier - a listener supplier acting as listener factorypublic ConflationQueueBuilderImpl.EvictConflationQueueBuilder withPollerListener(java.util.function.Supplier<? extends PollerListener<? super K,? super V>> listenerSupplier)
ConflationQueueBuilder.ExchangeConflationQueueBuilderPollerListener.threadLocalSupplier(Supplier).withPollerListener in interface ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V>listenerSupplier - a listener supplier acting as listener factorypublic ExchangeConflationQueue<K,V> build(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory)
ConflationQueueBuilder.ExchangeConflationQueueBuilderbuild in interface ConflationQueueBuilder.ExchangeConflationQueueBuilder<K,V>queueFactory - the factory to create the backing queue