Class TestCoprocessorMetrics.CustomRegionEndpoint
java.lang.Object
org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService
org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.CustomRegionEndpoint
- All Implemented Interfaces:
com.google.protobuf.Service
,org.apache.hadoop.hbase.Coprocessor
,org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
- Enclosing class:
- TestCoprocessorMetrics
public static class TestCoprocessorMetrics.CustomRegionEndpoint
extends org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
RegionEndpoint to test metrics from endpoint calls
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService
org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService.BlockingInterface, org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService.Interface, org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService.Stub
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
org.apache.hadoop.hbase.Coprocessor.State
-
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mutateRows
(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsResponse> done) void
start
(org.apache.hadoop.hbase.CoprocessorEnvironment env) Methods inherited from class org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
getServices, stop
Methods inherited from class org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
getBulkLoadObserver, getEndpointObserver, getRegionObserver
-
Field Details
-
endpointExecution
-
-
Constructor Details
-
CustomRegionEndpoint
public CustomRegionEndpoint()
-
-
Method Details
-
mutateRows
public void mutateRows(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsResponse> done) - Overrides:
mutateRows
in classorg.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
-
start
- Specified by:
start
in interfaceorg.apache.hadoop.hbase.Coprocessor
- Overrides:
start
in classorg.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
- Throws:
IOException
-