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, newStubprivate int counter
public PingHandler()
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
start in interface org.apache.hadoop.hbase.CoprocessorIOExceptionpublic void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
stop in interface org.apache.hadoop.hbase.CoprocessorIOExceptionpublic 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.PingServicepublic 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.PingServicepublic 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.PingServicepublic 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.PingServicepublic 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.PingServicepublic Iterable<com.google.protobuf.Service> getServices()
getServices in interface org.apache.hadoop.hbase.CoprocessorCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.