com.loopfor.zookeeper

Status

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.

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

Abstract Value Members

  1. abstract def aversion: Int

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

  2. abstract def ctime: Long

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

  3. abstract def cversion: Int

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

  4. abstract def czxid: Long

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

  5. abstract def dataLength: Int

    Returns the length of the data associated with this node.

  6. abstract def ephemeralOwner: Long

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

  7. abstract def mtime: Long

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

  8. abstract def mzxid: Long

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

  9. abstract def numChildren: Int

    Returns the number of children associated with this node.

  10. abstract def path: String

    Returns the path of this node.

  11. abstract def pzxid: Long

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

  12. abstract def version: Int

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

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped