|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
@InterceptorBinding
public @interface CacheRemoveAll
When a method annotated with CacheRemoveAll is invoked all elements in the specified cache
will be removed via the Cache.removeAll() method
| Optional Element Summary | |
|---|---|
boolean |
afterInvocation
(Optional) When Cache.removeAll() should be called. |
String |
cacheName
(Optional) name of the cache. |
Class<? extends CacheResolver> |
cacheResolver
(Optional) The CacheResolver to use to find the Cache the intercepter will interact with. |
public abstract String cacheName
public abstract boolean afterInvocation
Cache.removeAll() should be called. If true it is called after the annotated method
invocation completes successfully. If false it is called before the annotated method is invoked.
Defaults to true.
public abstract Class<? extends CacheResolver> cacheResolver
CacheResolver to use to find the Cache the intercepter will interact with.
Defaults to resolving the cache by name from the default CacheManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||