PHP 클래스 Horde_Cache_Storage_Memcache, horde

사용 중단: Use HashTable driver instead.
저자: Duck ([email protected])
저자: Michael Slusarz ([email protected])
상속: extends Horde_Cache_Storage_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_memcache Horde_Memcache Memcache object.
$_objectcache array Cache results of exists()/get() calls (since we will get the entire object on an exists() call anyway).

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Construct a new Horde_Cache_Memcache object.
clear ( )
exists ( $key, $lifetime )
expire ( $key )
get ( $key, $lifetime )
set ( $key, $data, $lifetime )

보호된 메소드들

메소드 설명
_initOb ( )

메소드 상세

__construct() 공개 메소드

Construct a new Horde_Cache_Memcache object.
public __construct ( array $params = [] )
$params array Parameter array:
  - memcache: (Horde_Memcache) [REQUIRED] A Horde_Memcache object.
  - prefix: (string) The prefix to use for the cache keys.
            DEFAULT: ''

_initOb() 보호된 메소드

protected _initOb ( )

clear() 공개 메소드

public clear ( )

exists() 공개 메소드

public exists ( $key, $lifetime )

expire() 공개 메소드

public expire ( $key )

get() 공개 메소드

public get ( $key, $lifetime )

set() 공개 메소드

public set ( $key, $data, $lifetime )

프로퍼티 상세

$_memcache 보호되어 있는 프로퍼티

Memcache object.
protected Horde_Memcache $_memcache
리턴 Horde_Memcache

$_objectcache 보호되어 있는 프로퍼티

Cache results of exists()/get() calls (since we will get the entire object on an exists() call anyway).
protected array $_objectcache
리턴 array