Package javax.cache.interceptor

This package contains annotations for adding caching interceptors to POJOs.

See:
          Description

Interface Summary
CacheKey A serializable, immutable, thread-safe object that can be used for a cache key.
CacheKeyGenerator Generates cache keys for intercepted method invocations.
CacheResolver Determines the Cache to use for a specified cache name and annotated method.
 

Class Summary
DefaultCacheKey Default cache key implementation.
DefaultCacheKeyGenerator Creates a DefaultCacheKey for the InvocationContext.
DefaultCacheResolver Default CacheResolver that uses the default CacheManager, CacheBuilder and finds the Cache using CacheManager.getCache(String), CacheBuilder.createCache(String).
 

Annotation Types Summary
CacheRemoveAll When a method annotated with CacheRemoveAll is invoked all elements in the specified cache will be removed via the Cache.removeAll() method
CacheRemoveEntry When a method annotated with CacheRemoveEntry is invoked a CacheKey will be generated and Cache.remove(Object) will be invoked on the specified cache.
CacheResult When a method annotated with CacheResult is invoked a CacheKey will be generated and Cache.get(Object) is called before the invoked method actually executes.
 

Package javax.cache.interceptor Description

This package contains annotations for adding caching interceptors to POJOs.

Since:
1.7
Author:
Greg Luck


true