public class CacheManagerFacade extends java.lang.Object implements CacheManager
Constructor and Description |
---|
CacheManagerFacade(java.lang.String name,
java.lang.ClassLoader loader,
CacheManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<K,V> Cache<K,V> |
configureCache(java.lang.String cacheName,
Configuration<K,V> configuration) |
void |
enableStatistics(java.lang.String cacheName,
boolean enabled) |
<K,V> Cache<K,V> |
getCache(java.lang.String name) |
java.util.Set<Cache<?,?>> |
getCaches() |
java.lang.String |
getGuid() |
java.lang.String |
getName() |
Status |
getStatus() |
UserTransaction |
getUserTransaction() |
boolean |
isSupported(OptionalFeature optionalFeature) |
boolean |
removeCache(java.lang.String cacheName) |
void |
shutdown() |
java.lang.String |
toString() |
<T> T |
unwrap(java.lang.Class<T> cl) |
public CacheManagerFacade(java.lang.String name, java.lang.ClassLoader loader, CacheManagerImpl manager)
public java.lang.String getName()
getName
in interface CacheManager
public java.lang.String getGuid()
public <K,V> Cache<K,V> getCache(java.lang.String name)
getCache
in interface CacheManager
public java.util.Set<Cache<?,?>> getCaches()
getCaches
in interface CacheManager
public <K,V> Cache<K,V> configureCache(java.lang.String cacheName, Configuration<K,V> configuration)
configureCache
in interface CacheManager
public void enableStatistics(java.lang.String cacheName, boolean enabled)
enableStatistics
in interface CacheManager
public Status getStatus()
getStatus
in interface CacheManager
public UserTransaction getUserTransaction()
getUserTransaction
in interface CacheManager
public boolean isSupported(OptionalFeature optionalFeature)
isSupported
in interface CacheManager
public boolean removeCache(java.lang.String cacheName) throws java.lang.IllegalStateException
removeCache
in interface CacheManager
java.lang.IllegalStateException
public void shutdown()
shutdown
in interface CacheManager
public <T> T unwrap(java.lang.Class<T> cl)
unwrap
in interface CacheManager
public void close()
public java.lang.String toString()
toString
in class java.lang.Object