|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.engine.CacheEventQueueFactory<K,V>
public class CacheEventQueueFactory<K extends Serializable,V extends Serializable>
This class hands out event Queues. This allows us to change the implementation more easily. You can confugure the cache to use a custom type.
| Constructor Summary | |
|---|---|
CacheEventQueueFactory()
|
|
| Method Summary | |
|---|---|
ICacheEventQueue<K,V> |
createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
int maxFailure,
int waitBeforeRetry,
String threadPoolName,
String poolType)
Fully configured event queue. |
ICacheEventQueue<K,V> |
createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
String threadPoolName,
String poolType)
The most commonly used factory method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheEventQueueFactory()
| Method Detail |
|---|
public ICacheEventQueue<K,V> createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
String threadPoolName,
String poolType)
listener - listenerId - cacheName - threadPoolName - poolType - - SINGLE, QUEUED, or classname
public ICacheEventQueue<K,V> createCacheEventQueue(ICacheListener<K,V> listener,
long listenerId,
String cacheName,
int maxFailure,
int waitBeforeRetry,
String threadPoolName,
String poolType)
listener - listenerId - cacheName - maxFailure - waitBeforeRetry - threadPoolName - null is OK, if not a pooled event queue this is ignoredpoolType - single or pooled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||