|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.engine.CacheEventQueueFactory
public class CacheEventQueueFactory
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 |
createCacheEventQueue(ICacheListener listener,
long listenerId,
String cacheName,
int maxFailure,
int waitBeforeRetry,
String threadPoolName,
String poolType)
Fully configured event queue. |
ICacheEventQueue |
createCacheEventQueue(ICacheListener 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 createCacheEventQueue(ICacheListener listener, long listenerId, String cacheName, String threadPoolName, String poolType)
listener
- listenerId
- cacheName
- threadPoolName
- poolType
- - SINGLE, QUEUED, or classname
public ICacheEventQueue createCacheEventQueue(ICacheListener 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 |