Class MasterProcedureEnv
java.lang.Object
org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv
- All Implemented Interfaces:
ConfigurationObserver
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final MasterServices
private final MasterProcedureScheduler
private final RSProcedureDispatcher
-
Constructor Summary
ConstructorDescriptionMasterProcedureEnv
(MasterServices master) MasterProcedureEnv
(MasterServices master, RSProcedureDispatcher remoteDispatcher) -
Method Summary
Modifier and TypeMethodDescriptionGet a thread pool for executing some asynchronous tasksorg.apache.hadoop.conf.Configuration
boolean
boolean
void
onConfigurationChange
(org.apache.hadoop.conf.Configuration conf) This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.void
setEventReady
(ProcedureEvent<?> event, boolean isReady) boolean
waitInitialized
(Procedure<?> proc)
-
Field Details
-
LOG
-
remoteDispatcher
-
procSched
-
master
-
-
Constructor Details
-
MasterProcedureEnv
-
MasterProcedureEnv
-
-
Method Details
-
getAsyncTaskExecutor
Get a thread pool for executing some asynchronous tasks -
getRequestUser
-
getMasterServices
-
getMasterConfiguration
-
getAssignmentManager
-
getMasterCoprocessorHost
-
getProcedureScheduler
-
getRemoteDispatcher
-
getReplicationPeerManager
-
getMasterFileSystem
-
isRunning
-
isInitialized
-
waitInitialized
-
setEventReady
-
onConfigurationChange
Description copied from interface:ConfigurationObserver
This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.- Specified by:
onConfigurationChange
in interfaceConfigurationObserver
-