AttributesFactorySetRegionTimeToLive 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 void SetRegionTimeToLive(
ExpirationAction action,
uint timeToLive
)
Public Sub SetRegionTimeToLive (
action As ExpirationAction,
timeToLive As UInteger
)
public:
void SetRegionTimeToLive(
ExpirationAction action,
unsigned int timeToLive
)
member SetRegionTimeToLive :
action : ExpirationAction *
timeToLive : uint32 -> unit
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.
See Also