#include <redis_session.hpp>
|
| redis_session (redis_client_cluster &cluster, time_t ttl=0, const char *sid=NULL) |
|
| ~redis_session () |
|
bool | set (const char *name, const char *value) |
|
bool | set (const char *name, const void *value, size_t len) |
|
const session_string * | get_buf (const char *name) |
|
bool | del (const char *name) |
|
bool | remove () |
|
bool | get_attrs (std::map< string, session_string > &attrs) |
|
bool | get_attrs (const std::vector< string > &names, std::vector< session_string > &values) |
|
bool | set_attrs (const std::map< string, session_string > &attrs) |
|
| session (time_t ttl=0, const char *sid=NULL) |
|
virtual | ~session (void) |
|
void | reset (void) |
|
virtual const char * | get_sid (void) const |
|
void | set_sid (const char *sid) |
|
virtual bool | flush () |
|
virtual bool | set_delay (const char *name, const void *value, size_t len) |
|
const char * | get (const char *name) |
|
virtual bool | del_delay (const char *name) |
|
bool | set_ttl (time_t ttl, bool delay) |
|
time_t | get_ttl (void) const |
|
| dbuf_obj (dbuf_guard *guard=NULL) |
|
virtual | ~dbuf_obj () |
|
int | pos () const |
|
dbuf_guard * | get_guard () const |
|
◆ redis_session()
acl::redis_session::redis_session |
( |
redis_client_cluster & |
cluster, |
|
|
time_t |
ttl = 0 , |
|
|
const char * |
sid = NULL |
|
) |
| |
◆ ~redis_session()
acl::redis_session::~redis_session |
( |
| ) |
|
◆ del()
bool acl::redis_session::del |
( |
const char * |
name | ) |
|
|
virtual |
◆ get_attrs() [1/2]
◆ get_attrs() [2/2]
bool acl::redis_session::get_attrs |
( |
const std::vector< string > & |
names, |
|
|
std::vector< session_string > & |
values |
|
) |
| |
|
virtual |
◆ get_buf()
const session_string* acl::redis_session::get_buf |
( |
const char * |
name | ) |
|
|
virtual |
◆ remove()
bool acl::redis_session::remove |
( |
| ) |
|
|
virtual |
◆ set() [1/2]
bool acl::redis_session::set |
( |
const char * |
name, |
|
|
const char * |
value |
|
) |
| |
|
virtual |
◆ set() [2/2]
bool acl::redis_session::set |
( |
const char * |
name, |
|
|
const void * |
value, |
|
|
size_t |
len |
|
) |
| |
|
virtual |
◆ set_attrs()
◆ set_timeout()
bool acl::redis_session::set_timeout |
( |
time_t |
ttl | ) |
|
|
protectedvirtual |
该类的文档由以下文件生成: