@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.Import
,
ExpirationConfiguration
,
Expiration
,
IdleTimeoutExpiration
,
TimeToLiveExpiration
,
Region
,
Annotation-based Data Expiration,
GemFire 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–2017 Pivotal Software, Inc.. All rights reserved.