MCPcopy Create free account
hub / github.com/apache/brpc / Add

Method Add

src/brpc/memcache.cpp:527–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527bool MemcacheRequest::Add(
528 const butil::StringPiece& key, const butil::StringPiece& value,
529 uint32_t flags, uint32_t exptime, uint64_t cas_value) {
530 return Store(policy::MC_BINARY_ADD, key, value, flags, exptime, cas_value);
531}
532
533bool MemcacheRequest::Replace(
534 const butil::StringPiece& key, const butil::StringPiece& value,

Callers 5

AddCallbackMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 3

AddCallbackMethod · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36