| Class | 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.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 | Description |
|---|---|
| org.apache.curator.framework.recipes.cache.PathChildrenCacheMode |
no longer used. Instead use either
PathChildrenCache(CuratorFramework, String, boolean)
or PathChildrenCache(CuratorFramework, String, boolean, ThreadFactory) |
| org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode.Mode |
This has been replaced with the more general
PersistentNode |
| Method | Description |
|---|---|
| org.apache.curator.framework.recipes.cache.PathChildrenCache.start(boolean) | |
| org.apache.curator.framework.recipes.shared.SharedCount.trySetCount(int) |
use
SharedCount.trySetCount(VersionedValue, int) for stronger atomicity
guarantees. Even if this object's internal state is up-to-date, the caller has no way to
ensure that they've read the most recently seen count. |
| org.apache.curator.framework.recipes.shared.SharedValue.trySetValue(byte[]) |
use
SharedValue.trySetValue(VersionedValue, byte[]) for stronger atomicity
guarantees. Even if this object's internal state is up-to-date, the caller has no way to
ensure that they've read the most recently seen value. |
| Constructor | 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(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–2018 The Apache Software Foundation. All rights reserved.