|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.constructs.nonstop.CacheManagerExecutorServiceFactory
public final class CacheManagerExecutorServiceFactory
NonstopExecutorServiceFactory
that creates and maintains one per CacheManager
Method Summary | |
---|---|
static CacheManagerExecutorServiceFactory |
getInstance()
Returns the singleton instance |
NonstopExecutorService |
getOrCreateNonstopExecutorService(CacheManager cacheManager)
Creates a NonstopExecutorService and returns it if not already created |
void |
shutdown(CacheManager cacheManager)
Shuts down the NonstopExecutorService associated with the CacheManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CacheManagerExecutorServiceFactory getInstance()
public NonstopExecutorService getOrCreateNonstopExecutorService(CacheManager cacheManager)
NonstopExecutorService
and returns it if not already created
getOrCreateNonstopExecutorService
in interface NonstopExecutorServiceFactory
cacheManager
- the CacheManager
NonstopExecutorService
public void shutdown(CacheManager cacheManager)
NonstopExecutorService
associated with the CacheManager
shutdown
in interface NonstopExecutorServiceFactory
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |