static class TestProcedure.LatchedProcedure extends org.apache.hadoop.hbase.procedure.Procedure
Modifier and Type | Field and Description |
---|---|
(package private) CountDownLatch |
completedProcedure |
(package private) CountDownLatch |
startedAcquireBarrier |
(package private) CountDownLatch |
startedDuringBarrier |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
sendGlobalBarrierComplete() |
void |
sendGlobalBarrierReached() |
void |
sendGlobalBarrierStart() |
CountDownLatch startedAcquireBarrier
CountDownLatch startedDuringBarrier
CountDownLatch completedProcedure
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)
public void sendGlobalBarrierStart()
sendGlobalBarrierStart
in class org.apache.hadoop.hbase.procedure.Procedure
public void sendGlobalBarrierReached()
sendGlobalBarrierReached
in class org.apache.hadoop.hbase.procedure.Procedure
public void sendGlobalBarrierComplete()
sendGlobalBarrierComplete
in class org.apache.hadoop.hbase.procedure.Procedure
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.