These are options specific to the APC adapter
Set namespace.
The option Memcached::OPT_PREFIX_KEY will be used as the namespace. It can’t be longer than 128 characters.
Set namespace separator
Parameters: | string – |
---|---|
Return type: | MemcachedOptions |
Get namespace separator
Return type: | string |
---|
A memcached resource to share
Parameters: | null|MemcachedResource – |
---|---|
Return type: | MemcachedOptions |
Deprecated : |
Get memcached resource to share
Return type: | MemcachedResource |
---|---|
Deprecated : |
Set the memcached resource manager to use
Parameters: | null|MemcachedResourceManager – |
---|---|
Return type: | MemcachedOptions |
Get the memcached resource manager
Return type: | MemcachedResourceManager |
---|
Set the memcached resource id
Parameters: | string – |
---|---|
Return type: | MemcachedOptions |
Set the persistent id
Parameters: | string – |
---|---|
Return type: | MemcachedOptions |
Add a server to the list
Parameters: |
|
---|---|
Return type: | MemcachedOptions |
Deprecated : |
Set a list of memcached servers to add on initialize
Parameters: | string|array – list of servers |
---|---|
Return type: | MemcachedOptions |
Throws : | ExceptionInvalidArgumentException |
Set libmemcached options
Parameters: | array – |
---|---|
Return type: | MemcachedOptions |
Link : |