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

Method Decrement

src/brpc/memcache.cpp:631–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631bool MemcacheRequest::Decrement(const butil::StringPiece& key, uint64_t delta,
632 uint64_t initial_value, uint32_t exptime) {
633 return Counter(policy::MC_BINARY_DECREMENT, key, delta, initial_value, exptime);
634}
635
636// MUST NOT have extras.
637// MUST NOT have key.

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64