[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 390 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RedisProfilerStorage:: (15 methods):
__construct()
find()
purge()
read()
write()
getRedis()
setRedis()
createProfileFromData()
getItemName()
getIndexName()
isItemNameValid()
getValue()
setValue()
appendValue()
delete()
Class: RedisProfilerStorage - X-Ref
RedisProfilerStorage stores profiling information in Redis.__construct($dsn, $username = '', $password = '', $lifetime = 86400) X-Ref |
Constructor. param: string $dsn A data source name param: string $username Not used param: string $password Not used param: int $lifetime The lifetime to use for the purge |
find($ip, $url, $limit, $method, $start = null, $end = null) X-Ref |
{@inheritdoc} |
purge() X-Ref |
{@inheritdoc} |
read($token) X-Ref |
{@inheritdoc} |
write(Profile $profile) X-Ref |
{@inheritdoc} |
getRedis() X-Ref |
Internal convenience method that returns the instance of Redis. return: \Redis |
setRedis($redis) X-Ref |
Set instance of the Redis. param: \Redis $redis |
createProfileFromData($token, $data, $parent = null) X-Ref |
No description |
getItemName($token) X-Ref |
Gets the item name. param: string $token return: string |
getIndexName() X-Ref |
Gets the name of the index. return: string |
isItemNameValid($name) X-Ref |
No description |
getValue($key, $serializer = self::REDIS_SERIALIZER_NONE) X-Ref |
Retrieves an item from the Redis server. param: string $key param: int $serializer return: mixed |
setValue($key, $value, $expiration = 0, $serializer = self::REDIS_SERIALIZER_NONE) X-Ref |
Stores an item on the Redis server under the specified key. param: string $key param: mixed $value param: int $expiration param: int $serializer return: bool |
appendValue($key, $value, $expiration = 0) X-Ref |
Appends data to an existing item on the Redis server. param: string $key param: string $value param: int $expiration return: bool |
delete(array $keys) X-Ref |
Removes the specified keys. param: array $keys return: bool |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |