@InterfaceAudience.Private @InterfaceStability.Evolving public class MasterProcedureEnv extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MasterProcedureEnv.MasterProcedureStoreListener |
static class |
MasterProcedureEnv.WALStoreLeaseRecovery |
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private MasterServices |
master |
private MasterProcedureScheduler |
procSched |
Constructor and Description |
---|
MasterProcedureEnv(MasterServices master) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getMasterConfiguration() |
MasterCoprocessorHost |
getMasterCoprocessorHost() |
MasterServices |
getMasterServices() |
MasterProcedureScheduler |
getProcedureQueue() |
User |
getRequestUser() |
boolean |
isInitialized() |
boolean |
isRunning() |
void |
setEventReady(MasterProcedureScheduler.ProcedureEvent event,
boolean isReady) |
void |
suspend(MasterProcedureScheduler.ProcedureEvent event) |
boolean |
waitInitialized(Procedure proc) |
boolean |
waitServerCrashProcessingEnabled(Procedure proc) |
void |
wake(MasterProcedureScheduler.ProcedureEvent event) |
private static final org.apache.commons.logging.Log LOG
private final MasterProcedureScheduler procSched
private final MasterServices master
public MasterProcedureEnv(MasterServices master)
public User getRequestUser()
public MasterServices getMasterServices()
public org.apache.hadoop.conf.Configuration getMasterConfiguration()
public MasterCoprocessorHost getMasterCoprocessorHost()
public MasterProcedureScheduler getProcedureQueue()
public boolean isRunning()
public boolean isInitialized()
public boolean waitInitialized(Procedure proc)
public boolean waitServerCrashProcessingEnabled(Procedure proc)
public void wake(MasterProcedureScheduler.ProcedureEvent event)
public void suspend(MasterProcedureScheduler.ProcedureEvent event)
public void setEventReady(MasterProcedureScheduler.ProcedureEvent event, boolean isReady)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.