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.StubNested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
org.apache.hadoop.hbase.Coprocessor.State -
Field Summary
FieldsFields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmutateRows(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) voidstart(org.apache.hadoop.hbase.CoprocessorEnvironment env) Methods inherited from class org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
getServices, stopMethods inherited from class org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStubMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
mutateRowsin classorg.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
-
start
- Specified by:
startin interfaceorg.apache.hadoop.hbase.Coprocessor- Overrides:
startin classorg.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint- Throws:
IOException
-