AttributesFactorySetEntryTimeToLive Method |
Sets the timeToLive expiration attributes for region entries for the next
RegionAttributes created.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic void SetEntryTimeToLive(
ExpirationAction action,
uint timeToLive
)
Public Sub SetEntryTimeToLive (
action As ExpirationAction,
timeToLive As UInteger
)
public:
void SetEntryTimeToLive(
ExpirationAction action,
unsigned int timeToLive
)
member SetEntryTimeToLive :
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 entries in this region.
See Also