public class SimpleRSProcedureManager.SimpleSubprocedure extends org.apache.hadoop.hbase.procedure.Subprocedure
Modifier and Type | Class and Description |
---|---|
(package private) class |
SimpleRSProcedureManager.SimpleSubprocedure.RSSimpleTask
Callable task.
|
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.regionserver.RegionServerServices |
rss |
private SimpleRSProcedureManager.SimpleSubprocedurePool |
taskManager |
Constructor and Description |
---|
SimpleSubprocedure(org.apache.hadoop.hbase.regionserver.RegionServerServices rss,
org.apache.hadoop.hbase.procedure.ProcedureMember member,
org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher errorListener,
SimpleRSProcedureManager.SimpleSubprocedurePool taskManager,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
acquireBarrier() |
void |
cleanup(Exception e)
Cancel threads if they haven't finished.
|
private void |
execute() |
byte[] |
insideBarrier()
do a log roll.
|
private final org.apache.hadoop.hbase.regionserver.RegionServerServices rss
private final SimpleRSProcedureManager.SimpleSubprocedurePool taskManager
public SimpleSubprocedure(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.procedure.ProcedureMember member, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher errorListener, SimpleRSProcedureManager.SimpleSubprocedurePool taskManager, String name)
private void execute() throws org.apache.hadoop.hbase.errorhandling.ForeignException
org.apache.hadoop.hbase.errorhandling.ForeignException
public void acquireBarrier() throws org.apache.hadoop.hbase.errorhandling.ForeignException
acquireBarrier
in class org.apache.hadoop.hbase.procedure.Subprocedure
org.apache.hadoop.hbase.errorhandling.ForeignException
public byte[] insideBarrier() throws org.apache.hadoop.hbase.errorhandling.ForeignException
insideBarrier
in class org.apache.hadoop.hbase.procedure.Subprocedure
org.apache.hadoop.hbase.errorhandling.ForeignException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.