Class RefreshHFilesEndpoint

java.lang.Object
org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService
org.apache.hadoop.hbase.coprocessor.example.RefreshHFilesEndpoint
All Implemented Interfaces:
Coprocessor, RegionCoprocessor, org.apache.hbase.thirdparty.com.google.protobuf.Service

@Private public class RefreshHFilesEndpoint extends org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService implements RegionCoprocessor
Coprocessor endpoint to refresh HFiles on replica.

For the protocol buffer definition of the RefreshHFilesService, see the source file located under hbase-protocol/src/main/protobuf/RefreshHFiles.proto.

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService

    org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.BlockingInterface, org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.Interface, org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.Stub

    Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor

    Coprocessor.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected static final org.slf4j.Logger
     

    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
    Iterable<org.apache.hbase.thirdparty.com.google.protobuf.Service>
    Coprocessor endpoints providing protobuf services should override this method.
    void
    refreshHFiles(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesResponse> done)
     
    void
    Called by the CoprocessorEnvironment during it's own startup to initialize the coprocessor.
    void
    Called by the CoprocessorEnvironment during it's own shutdown to stop the coprocessor.

    Methods inherited from class org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService

    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

  • Constructor Details

  • Method Details

    • getServices

      public Iterable<org.apache.hbase.thirdparty.com.google.protobuf.Service> getServices()
      Description copied from interface: Coprocessor
      Coprocessor endpoints providing protobuf services should override this method.
      Specified by:
      getServices in interface Coprocessor
      Returns:
      Iterable of Services or empty collection. Implementations should never return null.
    • refreshHFiles

      public void refreshHFiles(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesResponse> done)
      Specified by:
      refreshHFiles in class org.apache.hadoop.hbase.shaded.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService
    • start

      public void start(CoprocessorEnvironment env) throws IOException
      Description copied from interface: Coprocessor
      Called by the CoprocessorEnvironment during it's own startup to initialize the coprocessor.
      Specified by:
      start in interface Coprocessor
      Throws:
      IOException
    • stop

      public void stop(CoprocessorEnvironment env) throws IOException
      Description copied from interface: Coprocessor
      Called by the CoprocessorEnvironment during it's own shutdown to stop the coprocessor.
      Specified by:
      stop in interface Coprocessor
      Throws:
      IOException