PersistentNode
@Deprecated public class PersistentEphemeralNode extends PersistentNode
A 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
Modifier and Type | Class and Description |
---|---|
static class |
PersistentEphemeralNode.Mode
Deprecated.
This has been replaced with the more general
PersistentNode |
Constructor and Description |
---|
PersistentEphemeralNode(CuratorFramework client,
PersistentEphemeralNode.Mode mode,
String basePath,
byte[] initData)
Deprecated.
|
close, deleteNode, getActualPath, getData, getListenable, setData, start, waitForInitialCreate
public PersistentEphemeralNode(CuratorFramework client, PersistentEphemeralNode.Mode mode, String basePath, byte[] initData)
client
- client instancemode
- creation/protection modebasePath
- the base path for the nodeinitData
- data for the nodeCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.