@InterfaceAudience.Private public class FlushTableSubprocedure extends Subprocedure
Subprocedure.SubprocedureImplexecutionTimeoutTimer, monitor, rpcs, wakeFrequency| Constructor and Description |
|---|
FlushTableSubprocedure(ProcedureMember member,
ForeignExceptionDispatcher errorListener,
long wakeFrequency,
long timeout,
List<Region> regions,
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(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, List<Region> regions, 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(Exception e)
cleanup in class Subprocedurepublic void releaseBarrier()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.