MCPcopy Create free account
hub / github.com/acl-dev/acl / memcache

Method memcache

lib_acl_cpp/src/memcache/memcache.cpp:17–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15{
16
17memcache::memcache(const char* addr /* = "127.0.0.1:11211" */,
18 int conn_timeout /* = 30 */, int rw_timeout /* = 30 */)
19: keypre_(NULL)
20, coder_(false, false)
21, encode_key_(false)
22, opened_(false)
23, retry_(true)
24, content_length_(0)
25, length_(0)
26, conn_(NULL)
27{
28 acl_assert(addr && *addr);
29 addr_ = acl_mystrdup(addr);
30 set_timeout(conn_timeout, rw_timeout);
31}
32
33memcache::~memcache(void)
34{

Callers

nothing calls this directly

Calls 1

set_timeoutFunction · 0.50

Tested by

no test coverage detected