Spring Data for VMware GemFire
Annotation Interface EnableExpiration.ExpirationPolicy
- Enclosing class:
- EnableExpiration
public static @interface EnableExpiration.ExpirationPolicy
Definition for a specific Expiration policy that can be applied to 1 or more
Regions.
An Expiration policy defines the expiration timeout and expiration action to take when
an Region entry times out.
Additionally, the Expiration policy defines the algorithm to use (e.g. Idle Timeout (TTI) or Time-To-Live (TTL),
or both) to determine if and when an Region entry has timed out.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionSpecifies the action taken when aRegionentry expires.intSpecifies the timeout used to determine when aRegionentry expires. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Names of specificRegionson which this Expiration policy is applied.Types of Expiration algorithms (Idle Timeout (TTI) or Time to Live (TTL)) configured and used byRegion(s)to expire entries.
-
Element Details
-
timeout
int timeoutSpecifies the timeout used to determine when aRegionentry expires. This value of this attribute determines the "default" timeout used if no specific timeout was specified. A specific timeout is determined byExpiration.timeout(),IdleTimeoutExpiration.timeout()orTimeToLiveExpiration.timeout()attribute on the application domain object. See the SDG Reference Guide for more details...- See Also:
-
action
ExpirationActionType actionSpecifies the action taken when aRegionentry expires. This value of this attribute determines the "default" action taken if no specific action was specified. The specific action is determined byExpiration.action(),IdleTimeoutExpiration.action()orTimeToLiveExpiration.action()attribute on the application domain object. See the SDG Reference Guide for more details...- See Also:
-
-
-
regionNames
String[] regionNamesNames of specificRegionson which this Expiration policy is applied. If noRegionnames are specified then this Expiration policy will apply to allRegionsdeclared in the Spring context. Defaults to allRegions.- Default:
- {}
-
types
EnableExpiration.ExpirationType[] typesTypes of Expiration algorithms (Idle Timeout (TTI) or Time to Live (TTL)) configured and used byRegion(s)to expire entries. Defaults to Idle Timeout (TTI).- See Also:
- Default:
- {IDLE_TIMEOUT}
-