Annotation Interface EnableExpiration
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(ExpirationConfiguration.class)
public @interface EnableExpiration
The
EnableExpiration
annotation marks a Spring @Configuration
annotated class to enable Region
entry expiration for individual entries. Note, this annotation does not
cover Region
expiration; Region
expiration must be configure on the Region
definition itself.- Since:
- 1.9.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Definition for a specific Expiration policy that can be applied to 1 or moreRegions
.static enum
EnableExpiration.ExpirationType
defines different types of GemFire/Geode Expiration policies such as (Entry) Idle Timeout (TTI) and (Entry) Time to Live (TTL). -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDefines individualRegion
Expiration policies or customizes the default Expiration policy for allRegions
.
-
Element Details
-
policies
EnableExpiration.ExpirationPolicy[] policiesDefines individualRegion
Expiration policies or customizes the default Expiration policy for allRegions
. Defaults to empty.- Default:
- {}
-