RegionFactorySetEntryTimeToLive 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 RegionFactory SetEntryTimeToLive(
ExpirationAction action,
uint timeToLive
)
Public Function SetEntryTimeToLive (
action As ExpirationAction,
timeToLive As UInteger
) As RegionFactory
public:
RegionFactory^ SetEntryTimeToLive(
ExpirationAction action,
unsigned int timeToLive
)
member SetEntryTimeToLive :
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 entries in this region.
Return Value
Type:
RegionFactorythe instance of RegionFactory
See Also