HP Anywhere API Reference
put Method
used as a namespace for the keys. It is suggested, but not enforced, that each app will use its own category.Must not be null
arbitrary string indicating applicative key. Must not be null
MUST not be null. Empty String is valid as value
time to live ( in seconds)..After that, entry is expired .Must be between 0 and 630720000. This parameter is optional - if not set (or set to 0) , entry will remain forever unless explicitly removed by the API.
Syntax
void put( 
   java.lang.String category,
   java.lang.String key,
   java.lang.String value,
   java.lang.int ttl
)

Parameters

category
used as a namespace for the keys. It is suggested, but not enforced, that each app will use its own category.Must not be null
key
arbitrary string indicating applicative key. Must not be null
value
MUST not be null. Empty String is valid as value
ttl
time to live ( in seconds)..After that, entry is expired .Must be between 0 and 630720000. This parameter is optional - if not set (or set to 0) , entry will remain forever unless explicitly removed by the API.
See Also

Reference

KeyValueStorageService Interface
KeyValueStorageService Members