javax.cache
Class Caching

java.lang.Object
  extended by javax.cache.Caching

public final class Caching
extends java.lang.Object

Provides the capability of dynamically creating a cache. See the default implementation of this interface in com.caucho.cluster.CacheTemplate for additional methods.


Field Summary
static java.lang.String DEFAULT_CACHE_MANAGER_NAME
           
 
Method Summary
static void close()
           
static void close(java.lang.ClassLoader classLoader)
           
static void close(java.lang.ClassLoader classLoader, java.lang.String name)
           
static CacheManager getCacheManager()
           
static CacheManager getCacheManager(java.lang.ClassLoader classLoader)
           
static CacheManager getCacheManager(java.lang.ClassLoader classLoader, java.lang.String name)
           
static CacheManager getCacheManager(java.lang.String name)
           
static CacheManagerFactory getCacheManagerFactory()
           
static javax.cache.Caching.CachingSingleton getCachingSingleton()
           
static boolean isAnnotationsSupported()
           
static boolean isSupported(OptionalFeature feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CACHE_MANAGER_NAME

public static final java.lang.String DEFAULT_CACHE_MANAGER_NAME
See Also:
Constant Field Values
Method Detail

getCacheManagerFactory

public static CacheManagerFactory getCacheManagerFactory()

getCacheManager

public static CacheManager getCacheManager()

getCacheManager

public static CacheManager getCacheManager(java.lang.ClassLoader classLoader)

getCacheManager

public static CacheManager getCacheManager(java.lang.String name)

getCacheManager

public static CacheManager getCacheManager(java.lang.ClassLoader classLoader,
                                           java.lang.String name)

close

public static void close()
                  throws CachingShutdownException
Throws:
CachingShutdownException

close

public static void close(java.lang.ClassLoader classLoader)
                  throws CachingShutdownException
Throws:
CachingShutdownException

close

public static void close(java.lang.ClassLoader classLoader,
                         java.lang.String name)
                  throws CachingShutdownException
Throws:
CachingShutdownException

isSupported

public static boolean isSupported(OptionalFeature feature)

isAnnotationsSupported

public static boolean isAnnotationsSupported()

getCachingSingleton

public static javax.cache.Caching.CachingSingleton getCachingSingleton()