@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=ExpirationConfiguration.class) public @interface EnableExpiration
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.Region
,
Import
,
ExpirationConfiguration
,
Expiration
,
ExpirationActionType
,
IdleTimeoutExpiration
,
TimeToLiveExpiration
,
Annotation-based Data Expiration,
Geode ExpirationModifier and Type | Optional Element and Description |
---|---|
EnableExpiration.ExpirationPolicy[] |
policies
Defines individual
Region Expiration policies or customizes the default Expiration policy
for all Regions . |
public abstract EnableExpiration.ExpirationPolicy[] policies
Region
Expiration policies or customizes the default Expiration policy
for all Regions
.
Defaults to empty.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.