| Package | Description |
|---|---|
| org.apache.curator.framework.recipes.leader |
| Modifier and Type | Method | Description |
|---|---|---|
LeaderLatch.State |
LeaderLatch.getState() |
Returns this instances current state, this is the only way to verify that the object has been closed before
closing again.
|
static LeaderLatch.State |
LeaderLatch.State.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LeaderLatch.State[] |
LeaderLatch.State.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.