| 358 | } |
| 359 | |
| 360 | RedisCommandHandler* 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 | |
| 368 | RedisCommandHandler* RedisCommandHandler::NewTransactionHandler() { |
| 369 | LOG(ERROR) << "NewTransactionHandler is not implemented"; |
no test coverage detected