|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.caching.impl.CacheManagerFactoryImpl
public class CacheManagerFactoryImpl
TODO: class description
| Constructor Summary | |
|---|---|
CacheManagerFactoryImpl()
|
|
| Method Summary | |
|---|---|
void |
close()
Reclaims all resources obtained from this factory. |
boolean |
close(ClassLoader classLoader)
Reclaims all resources for a ClassLoader from this factory. |
boolean |
close(ClassLoader classLoader,
String name)
Reclaims all resources for a ClassLoader from this factory. |
CacheManager |
getCacheManager(ClassLoader classLoader,
String name)
Get the cache manager for the specified name and class loader. |
CacheManager |
getCacheManager(String cacheManagerName)
Get a named cache manager using the default cache loader as specified by the implementation. |
void |
removeCacheManager(CarbonCacheManager cacheManager,
String tenantDomain)
|
void |
removeCacheManagerMap(String tenantDomain)
remove cache manager map from global cache manager map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheManagerFactoryImpl()
| Method Detail |
|---|
public CacheManager getCacheManager(String cacheManagerName)
CacheManagerFactory
getCacheManager in interface CacheManagerFactorycacheManagerName - the name of the cache manager
public CacheManager getCacheManager(ClassLoader classLoader,
String name)
CacheManagerFactory
getCacheManager in interface CacheManagerFactoryclassLoader - associated with the cache manager.name - the name of the cache manager
public void close()
throws CachingShutdownException
CacheManagerFactory
close in interface CacheManagerFactoryCachingShutdownException - if any of the individual shutdowns failed
public boolean close(ClassLoader classLoader)
throws CachingShutdownException
CacheManagerFactory
close in interface CacheManagerFactoryclassLoader - the class loader for which managers will be shut down
CachingShutdownException - if any of the individual shutdowns failed
public boolean close(ClassLoader classLoader,
String name)
throws CachingShutdownException
CacheManagerFactory
close in interface CacheManagerFactoryclassLoader - the class loader for which managers will be shut downname - the name of the cache manager
CachingShutdownException - if there is a problem shutting down a CacheManager
public void removeCacheManager(CarbonCacheManager cacheManager,
String tenantDomain)
public void removeCacheManagerMap(String tenantDomain)
tenantDomain - - Tenant Domain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||