Class and Description |
---|
org.apache.curator.framework.recipes.locks.InterProcessSemaphore
Use
InterProcessSemaphoreV2 instead of this class. It uses a better algorithm. |
org.apache.curator.framework.recipes.cache.NodeCache
replace by
CuratorCache |
org.apache.curator.framework.recipes.cache.PathChildrenCache
replace by
CuratorCache |
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode
This has been replaced with the more general
PersistentNode |
org.apache.curator.framework.recipes.cache.TreeCache
replace by
CuratorCache |
Enum and 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 and 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 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(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–2022 The Apache Software Foundation. All rights reserved.