public class CacheEventQueueFactory<K,V> extends Object
| Constructor and Description |
|---|
CacheEventQueueFactory() |
| Modifier and Type | Method and Description |
|---|---|
ICacheEventQueue<K,V> |
createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
int maxFailure,
int waitBeforeRetry,
String threadPoolName,
ICacheEventQueue.QueueType poolType)
Fully configured event queue.
|
ICacheEventQueue<K,V> |
createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
String threadPoolName,
ICacheEventQueue.QueueType poolType)
The most commonly used factory method.
|
public ICacheEventQueue<K,V> createCacheEventQueue(ICacheListener<K,V> listener, long listenerId, String cacheName, String threadPoolName, ICacheEventQueue.QueueType poolType)
listener - listenerId - cacheName - threadPoolName - poolType - - SINGLE, POOLEDpublic ICacheEventQueue<K,V> createCacheEventQueue(ICacheListener<K,V> listener, long listenerId, String cacheName, int maxFailure, int waitBeforeRetry, String threadPoolName, ICacheEventQueue.QueueType poolType)
listener - listenerId - cacheName - maxFailure - waitBeforeRetry - threadPoolName - null is OK, if not a pooled event queue this is ignoredpoolType - single or pooledCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.