프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$memcache | Pop\Cache\Adapter\Memcache | Memcache object | |
$version | string | Memcache version |
메소드 | 설명 | |
---|---|---|
__construct ( string $host = 'localhost', integer $port = 11211 ) : |
Constructor | |
clear ( ) : void | Method to clear all stored values from cache. | |
getVersion ( ) : string | Method to get the current version of memcache. | |
load ( string $id, string $time ) : mixed | Method to load a value from cache. | |
remove ( string $id ) : void | Method to delete a value in cache. | |
save ( string $id, mixed $value, string $time ) : void | Method to save a value to cache. |
public __construct ( string $host = 'localhost', integer $port = 11211 ) : |
||
$host | string | |
$port | integer | |
리턴 |
public getVersion ( ) : string | ||
리턴 | string |
protected Memcache,Pop\Cache\Adapter $memcache | ||
리턴 | Pop\Cache\Adapter\Memcache |