javax.cache
Class Caching
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CACHE_MANAGER_NAME
public static final java.lang.String DEFAULT_CACHE_MANAGER_NAME
- See Also:
- Constant Field Values
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()