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.
Value members
Abstract methods
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.
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
.
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.
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.