Package | Description |
---|---|
leader | |
org.apache.curator.framework.recipes.leader |
Modifier and Type | Class and Description |
---|---|
class |
ExampleClient
An example leader selector client.
|
Modifier and Type | Class and Description |
---|---|
class |
LeaderSelectorListenerAdapter
An implementation of
LeaderSelectorListener that adds the recommended handling
for connection state problems |
Constructor and Description |
---|
LeaderSelector(CuratorFramework client,
String leaderPath,
CloseableExecutorService executorService,
LeaderSelectorListener listener) |
LeaderSelector(CuratorFramework client,
String leaderPath,
ExecutorService executorService,
LeaderSelectorListener listener) |
LeaderSelector(CuratorFramework client,
String leaderPath,
LeaderSelectorListener listener) |
LeaderSelector(CuratorFramework client,
String leaderPath,
ThreadFactory threadFactory,
Executor executor,
LeaderSelectorListener listener)
Deprecated.
This constructor was poorly thought out. Custom executor is useless. Use this version instead:
LeaderSelector(CuratorFramework, String, ExecutorService, LeaderSelectorListener) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.