trait Status extends AnyRef
The status of a ZooKeeper node.
Each modification to ZooKeeper is stamped with a monotonically-increasing sequence number, known as a transaction id or
zxid, which conveys a total ordering of all changes. Thus, given any two changes, A and B, denoted by transaction ids,
zxidA
and zxidB
, respectively, A is said to happen before B if zxidA
< zxidB
. Note that the
transaction id is scoped to the entire ZooKeeper repository, not to individual nodes.
In addition to stamping all repository changes with a transaction id, which establishes total order, each modification to a given node also causes some version of that node to increment.
- Alphabetic
- By Inheritance
- Status
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def aversion: Int
Returns the number of changes to the ACL of this node.
- abstract def ctime: Long
Returns the time in milliseconds since epoch corresponding to the creation of this node.
- abstract def cversion: Int
Returns the number of changes to the children of this node.
- abstract def czxid: Long
Returns the transaction id corresponding to the creation of this node.
- abstract def dataLength: Int
Returns the length of the data associated with this node.
- abstract def ephemeralOwner: Long
Returns the session id of the owner if this node is ephemeral, otherwise the value is
0
. - abstract def mtime: Long
Returns the time in milliseconds since epoch corresponding to the last modification of this node.
- abstract def mzxid: Long
Returns the transaction id corresponding to the last modification of this node.
- abstract def numChildren: Int
Returns the number of children associated with this node.
- abstract def path: String
Returns the path of this node.
- abstract def pzxid: Long
Returns the transaction id corresponding to the last modification of the children of this node.
- abstract def version: Int
Returns the number of changes to the data of this node.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()