@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class ProcedurePrepareLatch extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ProcedurePrepareLatch.CompatibilityLatch |
private static class |
ProcedurePrepareLatch.NoopLatch |
Modifier and Type | Field and Description |
---|---|
private static ProcedurePrepareLatch.NoopLatch |
noopLatch |
Constructor and Description |
---|
ProcedurePrepareLatch() |
Modifier and Type | Method and Description |
---|---|
abstract void |
await() |
protected abstract void |
countDown(Procedure proc) |
static ProcedurePrepareLatch |
createLatch() |
static boolean |
hasProcedureSupport() |
protected static void |
releaseLatch(ProcedurePrepareLatch latch,
Procedure proc) |
private static final ProcedurePrepareLatch.NoopLatch noopLatch
public static ProcedurePrepareLatch createLatch()
public static boolean hasProcedureSupport()
protected abstract void countDown(Procedure proc)
public abstract void await() throws IOException
IOException
protected static void releaseLatch(ProcedurePrepareLatch latch, Procedure proc)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.