@InterfaceAudience.Private public class FlushTableSubprocedure extends Subprocedure
Subprocedure.SubprocedureImplexecutionTimeoutTimer, monitor, rpcs, wakeFrequency| Constructor and Description |
|---|
FlushTableSubprocedure(ProcedureMember member,
ForeignExceptionDispatcher errorListener,
long wakeFrequency,
long timeout,
java.util.List<Region> regions,
java.lang.String table,
org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FlushTableSubprocedurePool taskManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireBarrier()
Flush the online regions on this rs for the target table.
|
void |
cleanup(java.lang.Exception e)
Cancel threads if they haven't finished.
|
byte[] |
insideBarrier()
The implementation of this method should act with the assumption that the barrier condition
has been satisfied.
|
void |
releaseBarrier() |
call, cancel, getMemberName, getName, receiveReachedGlobalBarrier, waitForLocallyCompletedpublic FlushTableSubprocedure(ProcedureMember member, ForeignExceptionDispatcher errorListener, long wakeFrequency, long timeout, java.util.List<Region> regions, java.lang.String table, org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FlushTableSubprocedurePool taskManager)
public void acquireBarrier()
throws ForeignException
acquireBarrier in class SubprocedureForeignExceptionpublic byte[] insideBarrier()
throws ForeignException
SubprocedureinsideBarrier in class SubprocedureForeignExceptionpublic void cleanup(java.lang.Exception e)
cleanup in class Subprocedurepublic void releaseBarrier()