@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class ProcedurePrepareLatch extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ProcedurePrepareLatch.CompatibilityLatch |
Constructor and Description |
---|
ProcedurePrepareLatch() |
Modifier and Type | Method and Description |
---|---|
abstract void |
await() |
protected abstract void |
countDown(Procedure proc) |
static ProcedurePrepareLatch |
createLatch()
Create a latch if the client does not have async proc support.
|
static ProcedurePrepareLatch |
createLatch(int major,
int minor)
Create a latch if the client does not have async proc support
|
protected static void |
releaseLatch(ProcedurePrepareLatch latch,
Procedure proc) |
public static ProcedurePrepareLatch createLatch()
public static ProcedurePrepareLatch createLatch(int major, int minor)
major
- major version with async proc supportminor
- minor version with async proc supportprotected abstract void countDown(Procedure proc)
public abstract void await() throws IOException
IOException
protected static void releaseLatch(ProcedurePrepareLatch latch, Procedure proc)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.