| Package | Description |
|---|---|
| org.apache.curator.framework.recipes.leader |
| Modifier and Type | Method and Description |
|---|---|
static LeaderLatch.CloseMode |
LeaderLatch.CloseMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaderLatch.CloseMode[] |
LeaderLatch.CloseMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LeaderLatch.close(LeaderLatch.CloseMode closeMode)
Remove this instance from the leadership election.
|
| Constructor and Description |
|---|
LeaderLatch(org.apache.curator.framework.CuratorFramework client,
String latchPath,
String id,
LeaderLatch.CloseMode closeMode) |
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.