Class ZNodeImpl<T>

java.lang.Object
org.apache.curator.x.async.modeled.details.ZNodeImpl<T>
All Implemented Interfaces:
ZNode<T>

public class ZNodeImpl<T> extends Object implements ZNode<T>
  • Constructor Details

    • ZNodeImpl

      public ZNodeImpl(ZPath path, org.apache.zookeeper.data.Stat stat, T model)
  • Method Details

    • path

      public ZPath path()
      Description copied from interface: ZNode
      The path of the node
      Specified by:
      path in interface ZNode<T>
      Returns:
      path
    • stat

      public org.apache.zookeeper.data.Stat stat()
      Description copied from interface: ZNode
      The node's last known stat if available
      Specified by:
      stat in interface ZNode<T>
      Returns:
      stat
    • model

      public T model()
      Description copied from interface: ZNode
      The node's current model
      Specified by:
      model in interface ZNode<T>
      Returns:
      model