PHP
The Memcache class
The Memcache class
(No version information available, might only be in Git)
Introduction
Represents a connection to a set of memcache servers.
Class synopsis
Memcache {
bool add (
string $key
,
mixed $var
[,
int $flag
[,
int $expire
]] )
bool addServer (
string $host
[,
int $port
= 11211 [,
bool $persistent
[,
int $weight
[,
int $timeout
[,
int $retry_interval
[,
bool $status
[,
callable $failure_callback
[,
int $timeoutms
]]]]]]]] )
bool connect (
string $host
[,
int $port
[,
int $timeout
]] )
int decrement (
string $key
[,
int $value
= 1 ] )
bool delete (
string $key
[,
int $timeout
= 0 ] )
string get (
string $key
[,
int &$flags
] )
array getStats ([
string $type
[,
int $slabid
[,
int $limit
= 100 ]]] )
int increment (
string $key
[,
int $value
= 1 ] )
mixed pconnect (
string $host
[,
int $port
[,
int $timeout
]] )
bool replace (
string $key
,
mixed $var
[,
int $flag
[,
int $expire
]] )
bool set (
string $key
,
mixed $var
[,
int $flag
[,
int $expire
]] )
bool setServerParams (
string $host
[,
int $port
= 11211 [,
int $timeout
[,
int $retry_interval
= false [,
bool $status
[,
callable $failure_callback
]]]]] )
}
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: 345 / 158794793. Delta: 0.03410 с