Sets the timeToLive expiration attributes for the region itself for the
next RegionAttributes created.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
Syntax
| C# |
|---|
public void SetRegionTimeToLive( ExpirationAction action, uint timeToLive ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetRegionTimeToLive ( _ action As ExpirationAction, _ timeToLive As UInteger _ ) |
| Visual C++ |
|---|
public: void SetRegionTimeToLive ( ExpirationAction action, unsigned int timeToLive ) |
Parameters
- action
- ExpirationAction
The expiration action for which to set the timeout.
- timeToLive
- UInt32
the timeToLive in seconds for the region as a whole.
See Also
AttributesFactory Class
GemStone.GemFire.Cache Namespace