
Public Member Functions | |
| __construct ($host=Memcached::DEFAULT_HOST, $port=Memcached::DEFAULT_PORT, $buffer=Memcached::DEFAULT_BUFFER) | |
| clean () | |
| |
| get ($index) | |
| delete ($index, $time=null) | |
Static Public Member Functions | |
| static | create ($host=Memcached::DEFAULT_HOST, $port=Memcached::DEFAULT_PORT, $buffer=Memcached::DEFAULT_BUFFER) |
| |
Public Attributes | |
| const | DEFAULT_PORT = 11211 |
| const | DEFAULT_HOST = '127.0.0.1' |
| const | DEFAULT_BUFFER = 16384 |
Protected Member Functions | |
| store ($method, $index, &$value, $expires=Cache::EXPIRES_MINIMUM) | |
Private Member Functions | |
| sendRequest ($command) | |
Private Attributes | |
| $link = null | |
| $buffer = Memcached::DEFAULT_BUFFER | |
Definition at line 23 of file Memcached.class.php.
| Memcached::__construct | ( | $ | host = Memcached::DEFAULT_HOST, |
|
| $ | port = Memcached::DEFAULT_PORT, |
|||
| $ | buffer = Memcached::DEFAULT_BUFFER | |||
| ) |
| static Memcached::create | ( | $ | host = Memcached::DEFAULT_HOST, |
|
| $ | port = Memcached::DEFAULT_PORT, |
|||
| $ | buffer = Memcached::DEFAULT_BUFFER | |||
| ) | [static] |
Definition at line 36 of file Memcached.class.php.
References $buffer.
| Memcached::clean | ( | ) |
Reimplemented from CachePeer.
Definition at line 67 of file Memcached.class.php.
References sendRequest().

| Memcached::get | ( | $ | index | ) |
Reimplemented from CachePeer.
Definition at line 77 of file Memcached.class.php.
References $buffer, and sendRequest().

| Memcached::delete | ( | $ | index, | |
| $ | time = null | |||
| ) |
Definition at line 156 of file Memcached.class.php.
References sendRequest().

| Memcached::store | ( | $ | method, | |
| $ | index, | |||
| &$ | value, | |||
| $ | expires = Cache::EXPIRES_MINIMUM | |||
| ) | [protected] |
Reimplemented from CachePeer.
Definition at line 178 of file Memcached.class.php.
References Cache::DO_NOT_CACHE, Cache::NOT_FOUND, and sendRequest().

| Memcached::sendRequest | ( | $ | command | ) | [private] |
| const Memcached::DEFAULT_PORT = 11211 |
Definition at line 25 of file Memcached.class.php.
| const Memcached::DEFAULT_HOST = '127.0.0.1' |
Definition at line 26 of file Memcached.class.php.
| const Memcached::DEFAULT_BUFFER = 16384 |
Definition at line 27 of file Memcached.class.php.
Memcached::$link = null [private] |
Definition at line 29 of file Memcached.class.php.
Memcached::$buffer = Memcached::DEFAULT_BUFFER [private] |
Definition at line 31 of file Memcached.class.php.
Referenced by __construct(), create(), and get().
1.5.4