|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Cache
.
Cache.put(Object, Object)
operation.Cache.remove(Object)
call.Cache.get(Object)
call.Cache.remove(Object)
call.Cache.put(Object, Object)
operation.CacheResult
, CachePut
, CacheRemoveEntry
, or CacheRemoveAll
Used with CacheResolver.resolveCache(CacheInvocationContext)
to determine the Cache
to use
at runtime for the method invocation.Serializable
, immutable, thread-safe object that is used as a cache key.CacheKey
based on a CacheKeyInvocationContext
.CacheResult
, CachePut
, or CacheRemoveEntry
.ServiceLoader
For a provider to be discovered by the CacheManagerFactory, it's jar must contain a resource
called:CacheResult
, CachePut
, CacheRemoveEntry
, or CacheRemoveAll
Used with CacheResolverFactory.getCacheResolver(CacheMethodDetails)
to determine the CacheResolver
to use
with the method.CachePut
is invoked a CacheKey
will be generated and
Cache.put(Object, Object)
will be invoked on the specified cache storing the value
marked with CacheValue
.CacheRemoveAll
is invoked all elements in the specified cache
will be removed via the Cache.removeAll()
method
Example of removing all Domain objects from the "domainCache".CacheRemoveEntry
is invoked a CacheKey
will be generated and
Cache.remove(Object)
will be invoked on the specified cache.Cache
to use for an intercepted method invocation.CacheResolver
to use for an annotated method.CacheResult
is invoked a CacheKey
will be generated and
Cache.get(Object)
is called before the invoked method actually executes.CachePut
CacheBuilder
for the named cache to be managed by this cache manager.
CacheConfiguration
instance.
CacheManagerFactory
class when a
new CacheManager needs to be created.
CacheKey
with another.
Map
of the objects
associated with the Collection of keys in argument "keys".
Class.getGenericSuperclass()
value of the parameter type declared on the method.
CacheStatistics.getCacheHits()
divided by the total number of gets.
CacheResolver
used for runtime resolution of the Cache
used by the
CacheResult
, CachePut
, CacheRemoveEntry
, or CacheRemoveAll
interceptors.
CacheKeyGenerator
in creating
a CacheKey
.
CacheInvocationContext.getAllParameters()
CacheStatistics
MXBean associated with the cache.
CacheStatus
attribute of the Cache expressed as a String.
CachePut
one parameter is the value to be cached.
CacheManagerFactory
classCacheEntryListener
notification scope.Cache
to use for this CacheInvocationContext
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |