Class and Description |
---|
org.apache.curator.framework.recipes.locks.ChildReaper
Since 2.9.0 - Reaper/ChildReaper are no longer needed. Use
CreateMode#CONTAINER .
Also, all Curator recipes create container parents. |
org.apache.curator.utils.EnsurePath
Since 2.9.0 - Prefer CuratorFramework.create().creatingParentContainersIfNeeded() or CuratorFramework.exists().creatingParentContainersIfNeeded()
|
org.apache.curator.framework.recipes.locks.InterProcessSemaphore
Use
InterProcessSemaphoreV2 instead of this class. It uses a better algorithm. |
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode
This has been replaced with the more general
PersistentNode |
org.apache.curator.framework.recipes.locks.Reaper
Since 2.9.0 - Reaper/ChildReaper are no longer needed. Use
CreateMode#CONTAINER .
Also, all Curator recipes create container parents. |
Enum and Description |
---|
org.apache.curator.framework.recipes.cache.PathChildrenCacheMode
no longer used. Instead use either
PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean)
or PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean, ThreadFactory) |
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode.Mode
This has been replaced with the more general
PersistentNode |
Constructor and Description |
---|
org.apache.curator.framework.recipes.leader.LeaderSelector(CuratorFramework, String, ThreadFactory, Executor, LeaderSelectorListener)
This constructor was poorly thought out. Custom executor is useless. Use this version instead:
LeaderSelector.LeaderSelector(CuratorFramework, String, ExecutorService, LeaderSelectorListener) |
org.apache.curator.framework.recipes.cache.PathChildrenCache(CuratorFramework, String, PathChildrenCacheMode) |
org.apache.curator.framework.recipes.cache.PathChildrenCache(CuratorFramework, String, PathChildrenCacheMode, ThreadFactory) |
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.