Sets the TTL (time-to-live) value for the tuples in the space in milliseconds.
Declaration
tibas_status tibasSpaceDef_SetTTL
(tibasSpaceDef spaceDef,
tibas_long ttl)
Parameters
Parameter |
Description |
spaceDef |
A spaceDef object that identifies the space for which to set the TTL. |
ttl |
The TTL in milliseconds. The default is TIBAS_WAIT_FOREVER (-1).
|
Remarks
Use the tibasSpaceDef_SetTTL() function to set the TTL for a specified space.
The TTL value that you specify determines how long (in milliseconds) a tuple is retained in the in-memory data grid after it was created initially or modified before it is expired.
Copyright © Cloud Software Group, Inc. All rights reserved.