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

Method set_option

lib_acl_cpp/src/redis/redis_client_pipeline.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void redis_pipeline_message::set_option(size_t nchild, const int* timeout) {
39 nchild_ = nchild;
40 timeout_ = timeout ? *timeout : -1;
41 result_ = NULL;
42 redirect_count_ = 0;
43 addr_.clear();
44}
45
46void redis_pipeline_message::set_slot(size_t slot) {
47 slot_ = slot;

Callers 2

redis_commandMethod · 0.80
runMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected