23 lines
642 B
Plaintext
23 lines
642 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.
|
|
|
|
Related:
|
|
|
|
- PHP: `Memcache` or `Memcached` methods such as `get()`, `set()`, `delete()`, and `getMulti()`
|
|
- JavaScript / Node.js: clients such as `memjs`, `memcached`, or similar Memcached packages
|