Click or drag to resize
AttributesMutatorSetEntryTimeToLive Method
Sets the timeToLive duration for region entries.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public int SetEntryTimeToLive(
	int timeToLive
)

Parameters

timeToLive
Type: SystemInt32
the timeToLive in seconds for entries in this region, or 0 to disable time-to-live

Return Value

Type: Int32
the previous value
Exceptions
ExceptionCondition
IllegalStateException if the new timeToLive changes entry expiration from disabled to enabled or enabled to disabled
See Also