org.apache.hadoop.hbase.procedure
Class ProcedureManagerHost<E extends ProcedureManager>
java.lang.Object
org.apache.hadoop.hbase.procedure.ProcedureManagerHost<E>
- Type Parameters:
E
- the specific procedure management extension that a concrete
implementation provides
- Direct Known Subclasses:
- MasterProcedureManagerHost, RegionServerProcedureManagerHost
@InterfaceAudience.Private
@InterfaceStability.Evolving
public abstract class ProcedureManagerHost<E extends ProcedureManager>
- extends Object
Provides the common setup framework and runtime services for globally
barriered procedure invocation from HBase services.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGIONSERVER_PROCEDURE_CONF_KEY
public static final String REGIONSERVER_PROCEDURE_CONF_KEY
- See Also:
- Constant Field Values
MASTER_PROCEUDRE_CONF_KEY
public static final String MASTER_PROCEUDRE_CONF_KEY
- See Also:
- Constant Field Values
procedures
protected Set<E extends ProcedureManager> procedures
ProcedureManagerHost
public ProcedureManagerHost()
loadUserProcedures
protected void loadUserProcedures(org.apache.hadoop.conf.Configuration conf,
String confKey)
- Load system procedures. Read the class names from configuration.
Called by constructor.
loadInstance
public E loadInstance(Class<?> implClass)
throws IOException
- Throws:
IOException
register
public void register(E obj)
getProcedureManagers
public Set<E> getProcedureManagers()
loadProcedures
public abstract void loadProcedures(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.