Class PersistentEphemeralNode

java.lang.Object
org.apache.curator.framework.recipes.nodes.PersistentNode
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode
All Implemented Interfaces:
Closeable, 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 Details

    • PersistentEphemeralNode

      public PersistentEphemeralNode(CuratorFramework client, PersistentEphemeralNode.Mode mode, 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