PHP
The Memcached class
The Memcached class
(No version information available, might only be in Git)
Introduction
Represents a connection to a set of memcached servers.
Class synopsis
Memcached {
public bool add (
string $key
,
mixed $value
[,
int $expiration
] )
public bool addByKey (
string $server_key
,
string $key
,
mixed $value
[,
int $expiration
] )
public bool addServer (
string $host
,
int $port
[,
int $weight
= 0 ] )
public bool append (
string $key
,
string $value
)
public bool appendByKey (
string $server_key
,
string $key
,
string $value
)
public bool cas (
float $cas_token
,
string $key
,
mixed $value
[,
int $expiration
] )
public bool casByKey (
float $cas_token
,
string $server_key
,
string $key
,
mixed $value
[,
int $expiration
] )
public int decrement (
string $key
[,
int $offset
= 1 ] )
public bool delete (
string $key
[,
int $time
= 0 ] )
public bool deleteByKey (
string $server_key
,
string $key
[,
int $time
= 0 ] )
public array fetch (
void )
public bool flush ([
int $delay
= 0 ] )
public mixed get (
string $key
[,
callable $cache_cb
[,
float &$cas_token
]] )
public mixed getByKey (
string $server_key
,
string $key
[,
callable $cache_cb
[,
float &$cas_token
]] )
public mixed getMulti (
array $keys
[,
array &$cas_tokens
[,
int $flags
]] )
public array getMultiByKey (
string $server_key
,
array $keys
[,
string &$cas_tokens
[,
int $flags
]] )
public int increment (
string $key
[,
int $offset
= 1 ] )
public bool prepend (
string $key
,
string $value
)
public bool prependByKey (
string $server_key
,
string $key
,
string $value
)
public bool replace (
string $key
,
mixed $value
[,
int $expiration
] )
public bool replaceByKey (
string $server_key
,
string $key
,
mixed $value
[,
int $expiration
] )
public bool set (
string $key
,
mixed $value
[,
int $expiration
] )
public bool setByKey (
string $server_key
,
string $key
,
mixed $value
[,
int $expiration
] )
public bool setMulti (
array $items
[,
int $expiration
] )
public bool setMultiByKey (
string $server_key
,
array $items
[,
int $expiration
] )
}
Table of Contents
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1428 / 159532078. Delta: 0.03651 с