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
- See Also:
-
EvictionAttributes
Region
ObjectSizer
Import
EvictionConfiguration
EvictionActionType
EvictionPolicyType
Region
-
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 ElementDescriptionDefines individualRegion
Eviction policies or customizes the default Eviction policy applied to allRegions
.
-
Element Details
-
policies
EnableEviction.EvictionPolicy[] policiesDefines individualRegion
Eviction policies or customizes the default Eviction policy applied to allRegions
. Defaults to empty.- Default:
- {}
-