Class TestCoprocessorMetrics.CustomRegionEndpoint

java.lang.Object
org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService
org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.CustomRegionEndpoint
All Implemented Interfaces:
org.apache.hadoop.hbase.Coprocessor, org.apache.hadoop.hbase.coprocessor.RegionCoprocessor, org.apache.hbase.thirdparty.com.google.protobuf.Service
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.shaded.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService

    org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService.BlockingInterface, org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MultiRowMutationService.Interface, org.apache.hadoop.hbase.shaded.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
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.hbase.metrics.Timer
     

    Fields inherited from interface org.apache.hadoop.hbase.Coprocessor

    PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    mutateRows(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MutateRowsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.shaded.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.shaded.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

      private org.apache.hadoop.hbase.metrics.Timer endpointExecution
  • Constructor Details

  • Method Details

    • mutateRows

      public void mutateRows(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MutateRowsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.MutateRowsResponse> done)
      Overrides:
      mutateRows in class org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
    • start

      public void start(org.apache.hadoop.hbase.CoprocessorEnvironment env) throws IOException
      Specified by:
      start in interface org.apache.hadoop.hbase.Coprocessor
      Overrides:
      start in class org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
      Throws:
      IOException