@InterfaceAudience.Private public class FlushTableSubprocedure extends Subprocedure
Subprocedure.SubprocedureImpl
executionTimeoutTimer, 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, waitForLocallyCompleted
public 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 Subprocedure
ForeignException
public byte[] insideBarrier() throws ForeignException
Subprocedure
insideBarrier
in class Subprocedure
ForeignException
public void cleanup(Exception e)
cleanup
in class Subprocedure
public void releaseBarrier()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.