Package | Description |
---|---|
org.apache.curator.framework.recipes.cache | |
org.apache.curator.framework.recipes.leader | |
org.apache.curator.utils | |
org.apache.curator.x.discovery |
Modifier and Type | Method and Description |
---|---|
TreeCache.Builder |
TreeCache.Builder.setExecutor(CloseableExecutorService executorService)
Sets the executor to publish events; a default executor will be created if not specified.
|
Constructor and Description |
---|
PathChildrenCache(CuratorFramework client,
String path,
boolean cacheData,
boolean dataIsCompressed,
CloseableExecutorService executorService) |
Constructor and Description |
---|
LeaderSelector(CuratorFramework client,
String leaderPath,
CloseableExecutorService executorService,
LeaderSelectorListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
CloseableScheduledExecutorService
Decoration on an ScheduledExecutorService that tracks created futures and provides
a method to close futures created via this class
|
Modifier and Type | Method and Description |
---|---|
ServiceCacheBuilder<T> |
ServiceCacheBuilder.executorService(CloseableExecutorService executorService)
Optional CloseableExecutorService to use for the cache's background thread.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.