Annotation Interface CacheRemove
Annotation indicating that the cache must be evicted.
- Since:
- 1.0.1
-
Optional Element Summary
Optional Elements
-
Element Details
-
key
String keyKey of the cache to evict.- Returns:
- Key of the cache
- Since:
- 1.0.1
- Default:
- "{class}.{method}"
-
evictOn
Class<?>[] evictOnDefines exception classes indicating the exception types that must cause a cache eviction. If classes are specified, the cache will only be evicted if the specified exceptions are thrown.- Returns:
- Class[] of Exceptions
- Since:
- 1.0.1
- Default:
- {}
-
noEvictOn
Class<?>[] noEvictOnDefines exception Classes indicating the exception types that must not cause a cache eviction.- Returns:
- Class[] of Exceptions
- Since:
- 1.0.1
- Default:
- {}
-