21 lines
564 B
Plaintext
21 lines
564 B
Plaintext
:sig
|
|
bool memcache_set(u64 connection, String key, String value, u64 expires_in = 60*60)
|
|
|
|
:params
|
|
connection : connection handle
|
|
key : the entry's key
|
|
value : the value to be set
|
|
expires_in : optional expiration timeout, defaults to one hour
|
|
return value : true if the operation was successful
|
|
|
|
:see
|
|
>memcache
|
|
|
|
:content
|
|
Stores `value` under `key` on the Memcache server.
|
|
|
|
`expires_in` controls the expiration timeout and defaults to one hour.
|
|
|
|
:example
|
|
print("memcache_set is resource-bound; configure the service or connection, then call it in request code.\n");
|