PHP 클래스 Horde_Cache_Storage_Apc, horde

저자: Duck ([email protected])
상속: extends Horde_Cache_Storage_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

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

보호된 메소드들

메소드 설명
_setExpire ( string $key, integer $lifetime ) Set expire time on each call since APC sets it on cache creation.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array Optional parameters:
  - prefix: (string) The prefix to use for the cache keys.
            DEFAULT: ''

_setExpire() 보호된 메소드

Set expire time on each call since APC sets it on cache creation.
protected _setExpire ( string $key, integer $lifetime )
$key string Cache key to expire.
$lifetime integer Lifetime of the data in seconds.

clear() 공개 메소드

public clear ( )

exists() 공개 메소드

public exists ( $key, $lifetime )

expire() 공개 메소드

public expire ( $key )

get() 공개 메소드

public get ( $key, $lifetime )

set() 공개 메소드

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