Trait/Object

com.twitter.zk

ZNode

Related Docs: object ZNode | package zk

Permalink

trait ZNode extends AnyRef

A handle to a ZNode attached to a ZkClient

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZNode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val path: String

    Permalink

    Absolute path of ZNode

  2. abstract val zkClient: ZkClient

    Permalink
    Attributes
    protected[com.twitter.zk]

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MonitorableEvent

    Permalink

    AuthFailed and Expired are unmonitorable.

    AuthFailed and Expired are unmonitorable. Everything else can be resumed.

    Attributes
    protected[this]
  5. def apply(stat: Stat, bytes: Array[Byte]): Data

    Permalink

    Build a ZNode with its metadata and data.

  6. def apply(stat: Stat, children: Seq[String]): Children

    Permalink

    Build a ZNode with its metadata and children.

  7. def apply(stat: Stat): Exists

    Permalink

    Build a ZNode with its metadata.

  8. def apply(child: String): ZNode

    Permalink

    Get a child node.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def childPath(child: String): String

    Permalink

    The absolute path of a child

  11. def client: ZkClient

    Permalink

    Return the ZkClient associated with this node.

  12. def clone(): AnyRef

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

    Permalink

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

  14. def delete(version: Int = 0): Future[ZNode]

    Permalink

    Returns a Future that is satisfied with this ZNode

  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    ZNodes are equal if they share a path.

    ZNodes are equal if they share a path.

    Definition Classes
    ZNode → AnyRef → Any
  17. val exists: ZOp[Exists]

    Permalink

    Provides access to this node's metadata.

  18. def finalize(): Unit

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

    Permalink

    Provides access to this node's children.

  20. final def getClass(): Class[_]

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

    Permalink

    Provides access to this node's data.

  22. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  24. lazy val log: Logger

    Permalink
    Attributes
    protected[this]
  25. def monitorTree(): Offer[TreeUpdate]

    Permalink

    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().

  26. lazy val name: String

    Permalink

    The 'basename' of the ZNode path.

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. lazy val parent: ZNode

    Permalink

    The parent node.

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

  31. lazy val parentPath: String

    Permalink
  32. def setData(data: Array[Byte], version: Int): Future[Data]

    Permalink

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

  33. def sync(): Future[ZNode]

    Permalink

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

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

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

    Permalink

    Create a copy of this ZNode with an alternate ZkClient.

Inherited from AnyRef

Inherited from Any

Ungrouped