MCPcopy Create free account
hub / github.com/Qihoo360/evpp / SetCommand

Method SetCommand

apps/evmc/command.h:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64class SetCommand : public Command {
65public:
66 SetCommand(evpp::EventLoop* evloop, uint16_t vbucket, const std::string& key, const std::string& value,
67 uint32_t flags, uint32_t expire, SetCallback callback)
68 : Command(evloop, vbucket), key_(key), value_(value),
69 flags_(flags), expire_(expire),
70 set_callback_(callback) {
71 }
72
73 virtual void OnError(int err_code) {
74 LOG_INFO << "SetCommand OnError id=" << id();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected