com.twitter.zk.ZNode

Exists

trait Exists extends ZNode

A ZNode with its Stat metadata.

Linear Supertypes
ZNode, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Exists
  2. ZNode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val path: String

    Absolute path of ZNode

    Absolute path of ZNode

    Definition Classes
    ZNode
  2. abstract val stat: Stat

  3. abstract val zkClient: ZkClient

    Attributes
    protected[com.twitter.zk]
    Definition Classes
    ZNode

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object MonitorableEvent

    AuthFailed and Expired are unmonitorable.

  7. def apply(bytes: Array[Byte]): Data

  8. def apply(children: Seq[String]): Children

  9. def apply(stat: Stat, bytes: Array[Byte]): Data

    Build a ZNode with its metadata and data.

    Build a ZNode with its metadata and data.

    Definition Classes
    ZNode
  10. def apply(stat: Stat, children: Seq[String]): Children

    Build a ZNode with its metadata and children.

    Build a ZNode with its metadata and children.

    Definition Classes
    ZNode
  11. def apply(stat: Stat): Exists

    Build a ZNode with its metadata.

    Build a ZNode with its metadata.

    Definition Classes
    ZNode
  12. def apply(child: String): ZNode

    Get a child node.

    Get a child node.

    Definition Classes
    ZNode
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def childPath(child: String): String

    The absolute path of a child

    The absolute path of a child

    Definition Classes
    ZNode
  15. def client: ZkClient

    Return the ZkClient associated with this node.

    Return the ZkClient associated with this node.

    Definition Classes
    ZNode
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def create(data: Array[Byte] = Array.empty[Byte], acls: Seq[ACL] = zkClient.acl, mode: CreateMode = zkClient.mode, child: Option[String] = None): Future[ZNode]

    Create this ZNode; or if a child name is specified create that child.

    Create this ZNode; or if a child name is specified create that child.

    Definition Classes
    ZNode
  18. def delete(version: Int = 0): Future[ZNode]

    Returns a Future that is satisfied with this ZNode

    Returns a Future that is satisfied with this ZNode

    Definition Classes
    ZNode
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(other: Any): Boolean

    ZNodes are equal if they share a path.

    ZNodes are equal if they share a path.

    Definition Classes
    ExistsZNode → AnyRef → Any
  21. val exists: ZOp[Exists]

    Provides access to this node's metadata.

    Provides access to this node's metadata.

    Definition Classes
    ZNode
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. val getChildren: ZOp[Children]

    Provides access to this node's children.

    Provides access to this node's children.

    Definition Classes
    ZNode
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. val getData: ZOp[Data]

    Provides access to this node's data.

    Provides access to this node's data.

    Definition Classes
    ZNode
  26. def hashCode(): Int

    Definition Classes
    ZNode → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. lazy val log: Logger

    Attributes
    protected[this]
    Definition Classes
    ZNode
  29. def monitorTree(): Offer[TreeUpdate]

    Continuously watch all nodes in this subtree for child updates.

    Continuously watch all nodes in this subtree for child updates.

    A ZNode.TreeUpdate is offered for each node in the tree.

    If this node is deleted and it had children, an offer is sent indicating that this node no longer has children. A watch is maintained on deleted nodes so that if the parent node is not monitored, the monitor continues to work when the node is restored.

    If an authorization failure or session expiration is encountered, the monitor will be lost silently. To detect these situations, receive events from ZkClient.monitorSession().

    Definition Classes
    ZNode
  30. lazy val name: String

    The 'basename' of the ZNode path.

    The 'basename' of the ZNode path.

    Definition Classes
    ZNode
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. lazy val parent: ZNode

    The parent node.

    The parent node. The root node is its own parent.

    Definition Classes
    ZNode
  35. lazy val parentPath: String

    Definition Classes
    ZNode
  36. def setData(data: Array[Byte], version: Int): Future[Data]

    Returns a Future that is satisfied with this ZNode with its metadata and data

    Returns a Future that is satisfied with this ZNode with its metadata and data

    Definition Classes
    ZNode
  37. def sync(): Future[ZNode]

    Returns a Future that is satisfied with a reference to this ZNode

    Returns a Future that is satisfied with a reference to this ZNode

    Definition Classes
    ZNode
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    ZNode → AnyRef → Any
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withZkClient(zk: ZkClient): ZNode

    Create a copy of this ZNode with an alternate ZkClient.

    Create a copy of this ZNode with an alternate ZkClient.

    Definition Classes
    ZNode

Inherited from ZNode

Inherited from AnyRef

Inherited from Any

Ungrouped