YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/yql/redis/redisserver/redis_service.service.cc
Line
Count
Source (jump to first uncovered line)
1
// THIS FILE IS AUTOGENERATED FROM yb/yql/redis/redisserver/redis_service.proto
2
3
#include "yb/yql/redis/redisserver/redis_service.pb.h"
4
#include "yb/yql/redis/redisserver/redis_service.service.h"
5
6
#include <glog/logging.h>
7
8
#include "yb/rpc/inbound_call.h"
9
#include "yb/rpc/local_call.h"
10
#include "yb/rpc/remote_method.h"
11
#include "yb/rpc/rpc_context.h"
12
#include "yb/rpc/rpc_service.h"
13
#include "yb/rpc/service_if.h"
14
#include "yb/util/metrics.h"
15
16
namespace yb {
17
namespace redisserver {
18
19
2.93k
RedisServerServiceIf::RedisServerServiceIf(const scoped_refptr<MetricEntity>& entity) {
20
2.93k
  InitMethods(entity);
21
2.93k
}
22
23
0
RedisServerServiceIf::~RedisServerServiceIf() {
24
0
}
25
26
0
void RedisServerServiceIf::FillEndpoints(const ::yb::rpc::RpcServicePtr& service, ::yb::rpc::RpcEndpointMap* map) {
27
0
}
28
29
0
void RedisServerServiceIf::Handle(::yb::rpc::InboundCallPtr call) {
30
0
  auto index = call->method_index();
31
0
  methods_[index].handler(std::move(call));
32
0
}
33
34
8.80k
std::string RedisServerServiceIf::service_name() const {
35
8.80k
  return "yb.redisserver.RedisServerService";
36
8.80k
}
37
0
std::string RedisServerServiceIf::static_service_name() {
38
0
  return "yb.redisserver.RedisServerService";
39
0
}
40
41
2.93k
void RedisServerServiceIf::InitMethods(const scoped_refptr<MetricEntity>& entity) {
42
2.93k
}
43
44
} // namespace redisserver
45
} // namespace yb