Store.Item.setTTL()

Signature

void setTTL (Object storeItem, long ttl)

Domain

ACTION

Description

Sets the TTL value (in seconds) for this item

Parameters

NameTypeDescription
storeItemObjectStore Item Object
ttllongTTL value (in seconds) after which this item will be available for expiration

Returns

TypeDescription
voidSets the TTL value (in seconds) for this item before putting the item in the store

Cautions

none