|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Cache.
Cache.put(Object, Object) operation or the action of a CacheLoader.Cache.remove(Object) call.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
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.CachePutServiceLoader
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.
Caching 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.
CacheLoader, if any.
CachingProvider.getDefaultClassLoader()
CacheResolver used for runtime resolution of the Cache used by the
CacheResult, CachePut, CacheRemoveEntry, or CacheRemoveAll
interceptors.
CacheWriter, if any.
Caching class when a
new CacheManager needs to be created and the ClassLoader is not specified.
Connection
CacheKeyGenerator in creating
a CacheKey.
CacheInvocationContext.getAllParameters()
CacheStatistics MXBean associated with the cache.
Status attribute of the Cache.
CachePut one parameter is the value to be cached.
Caching classCacheEntryListener notification scope.Cache to use for this CacheInvocationContext.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||