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.
 

Annotation Types Summary
CacheKeyParam Marks a method argument as part of the cache key.
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.
CachingDefaults Allows the configuration of cacheName, cacheResolver and cacheKeyResolver at the class level.
 

Package javax.cache.interceptor Description

This package contains annotations for adding caching interceptors to POJOs.

Since:
1.7
Author:
Greg Luck


Copyright © 2011. All Rights Reserved.