org.apache.hadoop.hbase.procedure
Class RegionServerProcedureManager

java.lang.Object
  extended by org.apache.hadoop.hbase.procedure.ProcedureManager
      extended by org.apache.hadoop.hbase.procedure.RegionServerProcedureManager
Direct Known Subclasses:
RegionServerSnapshotManager

@InterfaceAudience.Private
@InterfaceStability.Evolving
public abstract class RegionServerProcedureManager
extends ProcedureManager

A life-cycle management interface for globally barriered procedures on region servers.


Constructor Summary
RegionServerProcedureManager()
           
 
Method Summary
abstract  void initialize(RegionServerServices rss)
          Initialize a globally barriered procedure for region servers.
abstract  void start()
          Start accepting procedure requests.
abstract  void stop(boolean force)
          Close this and all running procedure tasks
 
Methods inherited from class org.apache.hadoop.hbase.procedure.ProcedureManager
equals, getProcedureSignature, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionServerProcedureManager

public RegionServerProcedureManager()
Method Detail

initialize

public abstract void initialize(RegionServerServices rss)
                         throws org.apache.zookeeper.KeeperException
Initialize a globally barriered procedure for region servers.

Parameters:
rss - Region Server service interface
Throws:
org.apache.zookeeper.KeeperException

start

public abstract void start()
Start accepting procedure requests.


stop

public abstract void stop(boolean force)
                   throws IOException
Close this and all running procedure tasks

Parameters:
force - forcefully stop all running tasks
Throws:
IOException


Copyright © 2015 The Apache Software Foundation. All rights reserved.