Syntax
void put(
java.lang.String ,
java.lang.String ,
java.lang.String ,
java.lang.int
)
|
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