public final class CacheManagerExecutorServiceFactory extends Object implements NonstopExecutorServiceFactory
NonstopExecutorServiceFactory that creates and maintains one per CacheManager| Modifier and Type | Method and Description |
|---|---|
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 |
public static CacheManagerExecutorServiceFactory getInstance()
public NonstopExecutorService getOrCreateNonstopExecutorService(CacheManager cacheManager)
NonstopExecutorService and returns it if not already createdgetOrCreateNonstopExecutorService in interface NonstopExecutorServiceFactorycacheManager - the CacheManagerNonstopExecutorServicepublic void shutdown(CacheManager cacheManager)
NonstopExecutorService associated with the CacheManagershutdown in interface NonstopExecutorServiceFactoryCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.