Sets the timeToLive expiration attributes for region entries for the next RegionAttributes created.

Namespace: GemStone.GemFire.Cache.Generic
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.0.0

Syntax

C#
public RegionFactory SetEntryTimeToLive(
	ExpirationAction action,
	uint timeToLive
)
Visual Basic (Declaration)
Public Function SetEntryTimeToLive ( _
	action As ExpirationAction, _
	timeToLive As UInteger _
) As RegionFactory
Visual C++
public:
RegionFactory^ SetEntryTimeToLive (
	ExpirationAction action, 
	unsigned int timeToLive
)

Parameters

action
ExpirationAction
The expiration action for which to set the timeout.
timeToLive
UInt32
the timeToLive in seconds for entries in this region.

Return Value

the instance of RegionFactory

See Also