com.caucho.distcache.jcache
Class CacheManagerFacade

java.lang.Object
  extended by com.caucho.distcache.jcache.CacheManagerFacade
All Implemented Interfaces:
CacheManager

public class CacheManagerFacade
extends java.lang.Object
implements CacheManager

Caching Provider for jcache


Constructor Summary
CacheManagerFacade(java.lang.String name, java.lang.ClassLoader loader)
           
 
Method Summary
<K,V> CacheBuilder<K,V>
createCacheBuilder(java.lang.String cacheName)
           
<K,V> Cache<K,V>
getCache(java.lang.String name)
           
<K,V> java.util.Set<Cache<K,V>>
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheManagerFacade

public CacheManagerFacade(java.lang.String name,
                          java.lang.ClassLoader loader)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface CacheManager

getGuid

public java.lang.String getGuid()

createCacheBuilder

public <K,V> CacheBuilder<K,V> createCacheBuilder(java.lang.String cacheName)
Specified by:
createCacheBuilder in interface CacheManager

getCache

public <K,V> Cache<K,V> getCache(java.lang.String name)
Specified by:
getCache in interface CacheManager

getCaches

public <K,V> java.util.Set<Cache<K,V>> getCaches()
Specified by:
getCaches in interface CacheManager

getStatus

public Status getStatus()
Specified by:
getStatus in interface CacheManager

getUserTransaction

public UserTransaction getUserTransaction()
Specified by:
getUserTransaction in interface CacheManager

isSupported

public boolean isSupported(OptionalFeature optionalFeature)
Specified by:
isSupported in interface CacheManager

removeCache

public boolean removeCache(java.lang.String cacheName)
                    throws java.lang.IllegalStateException
Specified by:
removeCache in interface CacheManager
Throws:
java.lang.IllegalStateException

shutdown

public void shutdown()
Specified by:
shutdown in interface CacheManager

unwrap

public <T> T unwrap(java.lang.Class<T> cl)
Specified by:
unwrap in interface CacheManager

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object