Uses of Interface
javax.cache.Cache
-
Packages that use Cache Package Description javax.cache This package contains the API for JCache.javax.cache.annotation The annotations in this package provide method interceptors for user supplied classes.javax.cache.event This package contains event listener interfaces. -
-
Uses of Cache in javax.cache
Methods in javax.cache that return Cache Modifier and Type Method Description <K,V,C extends Configuration<K,V>>
Cache<K,V>CacheManager. createCache(java.lang.String cacheName, C configuration)
Creates a namedCache
at runtime.<K,V>
Cache<K,V>CacheManager. getCache(java.lang.String cacheName)
Looks up a managedCache
given its name.<K,V>
Cache<K,V>CacheManager. getCache(java.lang.String cacheName, java.lang.Class<K> keyType, java.lang.Class<V> valueType)
Looks up a managedCache
given its name.static <K,V>
Cache<K,V>Caching. getCache(java.lang.String cacheName, java.lang.Class<K> keyType, java.lang.Class<V> valueType)
A convenience that method that looks up a managedCache
given its name. -
Uses of Cache in javax.cache.annotation
Methods in javax.cache.annotation that return Cache Modifier and Type Method Description <K,V>
Cache<K,V>CacheResolver. resolveCache(CacheInvocationContext<? extends java.lang.annotation.Annotation> cacheInvocationContext)
Resolve theCache
to use for theCacheInvocationContext
. -
Uses of Cache in javax.cache.event
Methods in javax.cache.event that return Cache Modifier and Type Method Description Cache
CacheEntryEvent. getSource()
Constructors in javax.cache.event with parameters of type Cache Constructor Description CacheEntryEvent(Cache source, EventType eventType)
Constructs a cache entry event from a given cache as source
-