Annotation Interface EnableEviction
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(EvictionConfiguration.class)
public @interface EnableEviction
The
EnableEviction
annotation marks a Spring @Configuration
annotated class
to enable Region
Eviction.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Definition for a specific Eviction policy that can be applied to 1 or moreRegions
. -
Optional Element Summary
Modifier and TypeOptional ElementDescription
-
Element Details
-
policies
EnableEviction.EvictionPolicy[] policiesDefines individualRegion
Eviction policies or customizes the default Eviction policy applied to allRegions
. Defaults to empty.- Default:
- {}
-