Status

trait Status

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, zxid,,A,, and zxid,,B,,, respectively, A is said to ''happen before'' B if zxid,,A,, < zxid,,B,,. 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.

class Object
trait Matchable
class Any

Value members

Abstract methods

Returns the number of changes to the ACL of this node.

Returns the number of changes to the ACL of this node.

def ctime: Long

Returns the time in milliseconds since ''epoch'' corresponding to the creation of this node.

Returns the time in milliseconds since ''epoch'' corresponding to the creation of this node.

Returns the number of changes to the children of this node.

Returns the number of changes to the children of this node.

def czxid: Long

Returns the transaction id corresponding to the creation of this node.

Returns the transaction id corresponding to the creation of this node.

Returns the length of the data associated with this node.

Returns the length of the data associated with this node.

Returns the session id of the owner if this node is ''ephemeral'', otherwise the value is 0.

Returns the session id of the owner if this node is ''ephemeral'', otherwise the value is 0.

def mtime: Long

Returns the time in milliseconds since ''epoch'' corresponding to the last modification of this node.

Returns the time in milliseconds since ''epoch'' corresponding to the last modification of this node.

def mzxid: Long

Returns the transaction id corresponding to the last modification of this node.

Returns the transaction id corresponding to the last modification of this node.

Returns the number of children associated with this node.

Returns the number of children associated with this node.

Returns the path of this node.

Returns the path of this node.

def pzxid: Long

Returns the transaction id corresponding to the last modification of the children of this node.

Returns the transaction id corresponding to the last modification of the children of this node.

Returns the number of changes to the data of this node.

Returns the number of changes to the data of this node.