Class PersistentEphemeralNode
- java.lang.Object
-
- org.apache.curator.framework.recipes.nodes.PersistentNode
-
- org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@Deprecated public class PersistentEphemeralNode extends PersistentNode
Deprecated.This has been replaced with the more generalPersistentNodeA persistent ephemeral node is an ephemeral node that attempts to stay present in ZooKeeper, even through connection and session interruptions.
Thanks to bbeck (https://github.com/bbeck) for the initial coding and design
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersistentEphemeralNode.ModeDeprecated.This has been replaced with the more generalPersistentNode
-
Constructor Summary
Constructors Constructor Description PersistentEphemeralNode(org.apache.curator.framework.CuratorFramework client, PersistentEphemeralNode.Mode mode, java.lang.String basePath, byte[] initData)Deprecated.
-
Method Summary
-
Methods inherited from class org.apache.curator.framework.recipes.nodes.PersistentNode
close, deleteNode, getActualPath, getData, getListenable, setData, start, waitForInitialCreate
-
-
-
-
Constructor Detail
-
PersistentEphemeralNode
public PersistentEphemeralNode(org.apache.curator.framework.CuratorFramework client, PersistentEphemeralNode.Mode mode, java.lang.String basePath, byte[] initData)Deprecated.- Parameters:
client- client instancemode- creation/protection modebasePath- the base path for the nodeinitData- data for the node
-
-