Метод |
Описание |
|
append ( string $key, string $value ) : integer |
Append data to an existing item. |
|
close ( ) : boolean |
Close Redis server connection. |
|
connect ( string $host, integer $port = 6379, float $timeout ) : boolean |
Add a server to connection pool. |
|
del ( string | array $key ) : integer |
Remove specified keys. |
|
exists ( string $key ) : boolean |
Verify if the specified key exists. |
|
expire ( string $key, integer $ttl ) : boolean |
Sets an expiration time on an item. |
|
flushAll ( ) : boolean |
Flush all existing items from all databases at the server. |
|
get ( string $key ) : boolean |
Retrieve item from the server. |
|
select ( $dbnum ) |
|
|
setex ( string $key, integer $ttl, mixed $value ) : boolean |
Store data at the server with expiration time. |
|