Class PersistentEphemeralNode

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated
    public class PersistentEphemeralNode
    extends PersistentNode
    Deprecated.
    This has been replaced with the more general 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

    • Constructor Detail

      • PersistentEphemeralNode

        public PersistentEphemeralNode​(org.apache.curator.framework.CuratorFramework client,
                                       PersistentEphemeralNode.Mode mode,
                                       java.lang.String basePath,
                                       byte[] initData)
        Deprecated.
        Parameters:
        client - client instance
        mode - creation/protection mode
        basePath - the base path for the node
        initData - data for the node