public static class TestServerCustomProtocol.PingHandler extends org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService implements org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService.BlockingInterface, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService.Interface, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService.Stub
Modifier and Type | Field and Description |
---|---|
private int |
counter |
Constructor and Description |
---|
PingHandler() |
Modifier and Type | Method and Description |
---|---|
void |
count(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountResponse> done) |
Iterable<com.google.protobuf.Service> |
getServices() |
void |
hello(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloResponse> done) |
void |
increment(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountResponse> done) |
void |
noop(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopResponse> done) |
void |
ping(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingResponse> done) |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
void |
stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
private int counter
public PingHandler()
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
start
in interface org.apache.hadoop.hbase.Coprocessor
IOException
public void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
stop
in interface org.apache.hadoop.hbase.Coprocessor
IOException
public void ping(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingResponse> done)
ping
in class org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService
public void count(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountResponse> done)
count
in class org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService
public void increment(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountResponse> done)
increment
in class org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService
public void hello(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloResponse> done)
hello
in class org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService
public void noop(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopResponse> done)
noop
in class org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingService
public Iterable<com.google.protobuf.Service> getServices()
getServices
in interface org.apache.hadoop.hbase.Coprocessor
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.