Class RefreshHFilesEndpoint
java.lang.Object
org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService
org.apache.hadoop.hbase.coprocessor.example.RefreshHFilesEndpoint
- All Implemented Interfaces:
com.google.protobuf.Service
,Coprocessor
,RegionCoprocessor
@Private
public class RefreshHFilesEndpoint
extends org.apache.hadoop.hbase.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.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService
org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.BlockingInterface, org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.Interface, org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService.Stub
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
Coprocessor.State
-
Field Summary
Modifier and TypeFieldDescriptionprivate RegionCoprocessorEnvironment
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
-
Method Summary
Modifier and TypeMethodDescriptionIterable<com.google.protobuf.Service>
Coprocessor endpoints providing protobuf services should override this method.void
refreshHFiles
(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesResponse> done) void
Called by theCoprocessorEnvironment
during it's own startup to initialize the coprocessor.void
Called by theCoprocessorEnvironment
during it's own shutdown to stop the coprocessor.Methods inherited from class org.apache.hadoop.hbase.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
-
LOG
-
env
-
-
Constructor Details
-
RefreshHFilesEndpoint
public RefreshHFilesEndpoint()
-
-
Method Details
-
getServices
Description copied from interface:Coprocessor
Coprocessor endpoints providing protobuf services should override this method.- Specified by:
getServices
in interfaceCoprocessor
- Returns:
- Iterable of
Service
s or empty collection. Implementations should never return null.
-
refreshHFiles
public void refreshHFiles(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesResponse> done) - Specified by:
refreshHFiles
in classorg.apache.hadoop.hbase.protobuf.generated.RefreshHFilesProtos.RefreshHFilesService
-
start
Description copied from interface:Coprocessor
Called by theCoprocessorEnvironment
during it's own startup to initialize the coprocessor.- Specified by:
start
in interfaceCoprocessor
- Throws:
IOException
-
stop
Description copied from interface:Coprocessor
Called by theCoprocessorEnvironment
during it's own shutdown to stop the coprocessor.- Specified by:
stop
in interfaceCoprocessor
- Throws:
IOException
-