K - the conflation key typeV - the value typestatic interface ConflationQueueBuilderImpl.CqFactory<K,V>
| Modifier and Type | Method and Description |
|---|---|
AtomicConflationQueue<K,V> |
atomicQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory,
java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier,
java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
Factory method for
AtomicConflationQueue |
EvictConflationQueue<K,V> |
evictQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory,
java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier,
java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
Factory method for
EvictConflationQueue. |
MergeConflationQueue<K,V> |
mergeQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory,
Merger<? super K,V> merger,
java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier,
java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
Factory method for
MergeConflationQueue. |
AtomicConflationQueue<K,V> atomicQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory, java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier, java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
AtomicConflationQueuequeueFactory - factory for the backing queueappenderListenerSupplier - supplier acting as appender listener factorypollerListenerSupplier - supplier acting as poller listener factoryAtomicConflationQueue instanceEvictConflationQueue<K,V> evictQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory, java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier, java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
EvictConflationQueue.queueFactory - factory for the backing queueappenderListenerSupplier - supplier acting as appender listener factorypollerListenerSupplier - supplier acting as poller listener factoryEvictConflationQueue instanceMergeConflationQueue<K,V> mergeQueue(java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueFactory, Merger<? super K,V> merger, java.util.function.Supplier<? extends AppenderListener<? super K,? super V>> appenderListenerSupplier, java.util.function.Supplier<? extends PollerListener<? super K,? super V>> pollerListenerSupplier)
MergeConflationQueue.queueFactory - factory for the backing queuemerger - merge strategy to use when conflation occursappenderListenerSupplier - supplier acting as appender listener factorypollerListenerSupplier - supplier acting as poller listener factoryMergeConflationQueue instance