PHP 클래스 Doctrine\Common\Cache\RedisCache

부터: 2.2
저자: Osman Ungur ([email protected])
상속: extends CacheProvider
파일 보기 프로젝트 열기: doctrine/cache 1 사용 예제들

공개 메소드들

메소드 설명
getRedis ( ) : Redi\Redis | null Gets the redis instance used by the cache.
setRedis ( Redis $redis ) : void Sets the redis instance to use.

보호된 메소드들

메소드 설명
doContains ( $id )
doDelete ( $id )
doFetch ( $id )
doFetchMultiple ( array $keys )
doFlush ( )
doGetStats ( )
doSave ( $id, $data, $lifeTime )
doSaveMultiple ( array $keysAndValues, $lifetime )
getSerializerValue ( ) : integer Returns the serializer constant to use. If Redis is compiled with igbinary support, that is used. Otherwise the default PHP serializer is used.

메소드 상세

doContains() 보호된 메소드

protected doContains ( $id )

doDelete() 보호된 메소드

protected doDelete ( $id )

doFetch() 보호된 메소드

protected doFetch ( $id )

doFetchMultiple() 보호된 메소드

protected doFetchMultiple ( array $keys )
$keys array

doFlush() 보호된 메소드

protected doFlush ( )

doGetStats() 보호된 메소드

protected doGetStats ( )

doSave() 보호된 메소드

protected doSave ( $id, $data, $lifeTime )

doSaveMultiple() 보호된 메소드

protected doSaveMultiple ( array $keysAndValues, $lifetime )
$keysAndValues array

getRedis() 공개 메소드

Gets the redis instance used by the cache.
public getRedis ( ) : Redi\Redis | null
리턴 Redi\Redis | null

getSerializerValue() 보호된 메소드

Returns the serializer constant to use. If Redis is compiled with igbinary support, that is used. Otherwise the default PHP serializer is used.
protected getSerializerValue ( ) : integer
리턴 integer One of the Redis::SERIALIZER_* constants

setRedis() 공개 메소드

Sets the redis instance to use.
public setRedis ( Redis $redis ) : void
$redis Redis
리턴 void