void setTTL (Object storeItem, long ttl)
void setTTL (Object storeItem, long ttl)
Name | Type | Description |
---|---|---|
storeItem | Object | Store Item Object |
ttl | long | TTL value (in seconds) after which this item will be available for expiration |
Type | Description |
---|---|
void | Sets the TTL value (in seconds) for this item before putting the item in the store |