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

Method FindCommandHandler

src/brpc/redis.cpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360RedisCommandHandler* RedisService::FindCommandHandler(const butil::StringPiece& name) const {
361 auto it = _command_map.find(name.as_string());
362 if (it != _command_map.end()) {
363 return it->second;
364 }
365 return NULL;
366}
367
368RedisCommandHandler* RedisCommandHandler::NewTransactionHandler() {
369 LOG(ERROR) << "NewTransactionHandler is not implemented";

Callers 1

ConsumeCommandFunction · 0.80

Calls 3

findMethod · 0.45
as_stringMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected