| 127 | } |
| 128 | |
| 129 | bool redis_string::setex(const char* key, const char* value, int timeout) |
| 130 | { |
| 131 | return setex(key, strlen(key), value, strlen(value), timeout); |
| 132 | } |
| 133 | |
| 134 | bool redis_string::setex(const char* key, size_t key_len, const char* value, |
| 135 | size_t value_len, int timeout) |