RegionFactorySetRegionTimeToLive Method |
Sets the timeToLive expiration attributes for the region itself for the
next RegionAttributes created.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic RegionFactory SetRegionTimeToLive(
ExpirationAction action,
uint timeToLive
)
Public Function SetRegionTimeToLive (
action As ExpirationAction,
timeToLive As UInteger
) As RegionFactory
public:
RegionFactory^ SetRegionTimeToLive(
ExpirationAction action,
unsigned int timeToLive
)
member SetRegionTimeToLive :
action : ExpirationAction *
timeToLive : uint32 -> RegionFactory
Parameters
- action
- Type: GemStone.GemFire.CacheExpirationAction
The expiration action for which to set the timeout.
- timeToLive
- Type: SystemUInt32
the timeToLive in seconds for the region as a whole.
Return Value
Type:
RegionFactorythe instance of RegionFactory
See Also