MCPcopy Create free account
hub / github.com/apache/impala / Init

Method Init

be/src/runtime/data-stream-test.cc:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 virtual ~ImpalaKRPCTestBackend() {}
120
121 Status Init() {
122 int num_svc_threads = FLAGS_datastream_service_num_svc_threads > 0 ?
123 FLAGS_datastream_service_num_svc_threads : CpuInfo::num_cores();
124 LOG(INFO) << "Num svc thread=" << num_svc_threads;
125 return rpc_mgr_->RegisterService(num_svc_threads, 1024,
126 METRIC_data_stream_test_incoming_queue_time.Instantiate(
127 rpc_mgr_->metric_entity()),
128 this, mem_tracker(), ExecEnv::GetInstance()->rpc_metrics());
129 }
130
131 virtual bool Authorize(const google::protobuf::Message* req,
132 google::protobuf::Message* resp, kudu::rpc::RpcContext* context) {

Callers 2

SetUpMethod · 0.45
StartKrpcBackendMethod · 0.45

Calls 4

RegisterServiceMethod · 0.45
InstantiateMethod · 0.45
metric_entityMethod · 0.45
rpc_metricsMethod · 0.45

Tested by

no test coverage detected