Class TestProcedure.LatchedProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure.Procedure
org.apache.hadoop.hbase.procedure.TestProcedure.LatchedProcedure
- All Implemented Interfaces:
Callable<Void>
,org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener
- Enclosing class:
- TestProcedure
-
Field Summary
Modifier and TypeFieldDescription(package private) CountDownLatch
(package private) CountDownLatch
(package private) CountDownLatch
Fields inherited from class org.apache.hadoop.hbase.procedure.Procedure
acquiredBarrierLatch, completedLatch, releasedBarrierLatch, timeoutInjector, wakeFrequency
-
Constructor Summary
ConstructorDescriptionLatchedProcedure
(org.apache.hadoop.hbase.procedure.ProcedureCoordinator coord, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher monitor, long wakeFreq, long timeout, String opName, byte[] data, List<String> expectedMembers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Methods inherited from class org.apache.hadoop.hbase.procedure.Procedure
barrierAcquiredByMember, barrierReleasedByMember, call, getErrorMonitor, getName, getStatus, isCompleted, receive, waitForCompleted, waitForCompletedWithRet, waitForLatch
-
Field Details
-
startedAcquireBarrier
-
startedDuringBarrier
-
completedProcedure
-
-
Constructor Details
-
LatchedProcedure
public LatchedProcedure(org.apache.hadoop.hbase.procedure.ProcedureCoordinator coord, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher monitor, long wakeFreq, long timeout, String opName, byte[] data, List<String> expectedMembers)
-
-
Method Details
-
sendGlobalBarrierStart
- Overrides:
sendGlobalBarrierStart
in classorg.apache.hadoop.hbase.procedure.Procedure
-
sendGlobalBarrierReached
- Overrides:
sendGlobalBarrierReached
in classorg.apache.hadoop.hbase.procedure.Procedure
-
sendGlobalBarrierComplete
- Overrides:
sendGlobalBarrierComplete
in classorg.apache.hadoop.hbase.procedure.Procedure
-