public final class CacheManagerExecutorServiceFactory extends Object implements NonstopExecutorServiceFactory
NonstopExecutorServiceFactory
that creates and maintains one per CacheManagerModifier 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 NonstopExecutorServiceFactory
cacheManager
- the CacheManager
NonstopExecutorService
public void shutdown(CacheManager cacheManager)
NonstopExecutorService
associated with the CacheManager
shutdown
in interface NonstopExecutorServiceFactory
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.