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(org.apache.curator.framework.CuratorFramework client,
PersistentEphemeralNode.Mode mode,
String basePath,
byte[] initData)
Deprecated.
|
close, getActualPath, getData, setData, start, waitForInitialCreatepublic PersistentEphemeralNode(org.apache.curator.framework.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–2016 The Apache Software Foundation. All rights reserved.