|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Cache
.
CacheResult
, CachePut
,
CacheRemoveEntry
, and CacheRemoveAll
at the class level.Cache.put(Object, Object)
operation or the action of a CacheLoader
.Cache.get(Object)
call.Cache.remove(Object)
call.Cache.put(Object, Object)
or a CacheLoader
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
.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
The default behavior is to call Cache.removeAll()
after the annotated method is invoked,
this behavior can be changed by setting CacheRemoveAll.afterInvocation()
to false in which case Cache.removeAll()
will be called before the annotated method is invoked.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 annotated method actually executes.CachePut
.ServiceLoader
For a provider to be discovered, it's jar must contain a resource called:CacheBuilder
for the named cache to be managed by this cache manager.
CacheKey
with another.
Map
of the objects
associated with the Collection of keys in argument "keys".
CacheLoader
, if any.
CacheResolver
used at runtime for resolution of the Cache
for the
CacheResult
, CachePut
, CacheRemoveEntry
, or CacheRemoveAll
annotation.
CacheWriter
, if any.
CacheResolver
used at runtime for resolution of the Cache
for the
CacheResult
annotation to cache exceptions.
Connection
CacheKeyGenerator
in creating
a CacheKey
.
CacheInvocationContext.getAllParameters()
CacheStatistics
MXBean associated with the cache.
Status
attribute of the Cache.
CachePut
this is the parameter annotated with CacheValue
Caching
classCache
to use for the CacheInvocationContext
.
Cache.MutableEntry.exists()
is false and setValue is called
then a mapping is added to the cache visible once the EntryProcessor
completes.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |