Annotation Type CacheLifecycleEvents
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface CacheLifecycleEvents
CacheLifecycleEvents is an annotation that should be applied toEventInterceptor
implementations that want to receiveCacheLifecycleEvent
s.- Since:
- 20.06
- Author:
- as 2020.04.01
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CacheLifecycleEvent.Type[]
value
This element specifies all types ofCacheLifecycleEvent.Type
s the interceptor would like to be invoked on.
-
-
-
Element Detail
-
value
CacheLifecycleEvent.Type[] value
This element specifies all types ofCacheLifecycleEvent.Type
s the interceptor would like to be invoked on.If not specified, the interceptor will be registered to handle ALL
CacheLifecycleEvent.Type
s.- Returns:
- all
CacheLifecycleEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-