Represents a ''node'' in ZooKeeper.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Returns the children of this node.
Returns the children of this node.
Attributes
- Returns:
an unordered sequence containing each child node
- See also:
SynchronousZookeeper.children for further details
Returns the children of this node and additionally sets a watch for any changes.
Returns the children of this node and additionally sets a watch for any changes.
Attributes
- fn
a partial function invoked when applicable events occur
- Returns:
an unordered sequence containing each child node
- See also:
SynchronousWatchableZookeeper.children for further details
Creates this node.
Creates this node.
Attributes
- acl
an access control list to apply to this node, which must not be empty
- data
the data to associate with this node, which may be empty, but not
null
- disp
the disposition of this node
- Returns:
a new node whose path will differ if
disp
is either PersistentSequential, PersistentSequentialTimeToLive or EphemeralSequential- See also:
SynchronousZookeeper.create for further details
Deletes this node.
Deletes this node.
Attributes
- version
a
Some
containing the expected version of the node orNone
if a version match is not required- See also:
SynchronousZookeeper.delete for further details
Returns the status of this node if it exists.
Returns the status of this node if it exists.
Attributes
- Returns:
a
Some
containing this node status orNone
if this node does not exist- See also:
SynchronousZookeeper.exists for further details
Returns the status of this node if it exists and additionally sets a watch for any changes.
Returns the status of this node if it exists and additionally sets a watch for any changes.
Attributes
- fn
a partial function invoked when applicable events occur
- Returns:
a
Some
containing this node status orNone
if this node does not exist- See also:
SynchronousWatchableZookeeper.exists for further details
Returns the data and status of this node.
Returns the data and status of this node.
Attributes
- Returns:
a tuple containing the data and status of this node
- See also:
SynchronousZookeeper.get for further details
Returns the data and status of this node and additionally sets a watch for any changes.
Returns the data and status of this node and additionally sets a watch for any changes.
Attributes
- fn
a partial function invoked when applicable events occur
- Returns:
a tuple containing the data and status of this node
- See also:
SynchronousWatchableZookeeper.get for further details
Returns the ACL and status of this node.
Returns the ACL and status of this node.
Attributes
- Returns:
a tuple containing the ACL and status of this node
- See also:
SynchronousZookeeper.getACL for further details
Returns the name of this node.
Returns the name of this node.
Attributes
- Returns:
the name of this node
Returns the parent node.
Returns the normalized path of this node.
Returns the normalized path of this node.
Attributes
- Returns:
the normalized path of this node
Resolves the given path
relative to this node.
Resolves the given path
relative to this node.
Attributes
- path
the path to resolve relative to this node
- Returns:
a new node in which the given
path
is resolved relative to this node- See also:
Path, method
resolve
, for details on path resolution
Resolves the given path
relative to this node.
Resolves the given path
relative to this node.
Attributes
- path
the path to resolve relative to this node
- Returns:
a new node in which the given
path
is resolved relative to this node- See also:
Path, method
resolve
, for details on path resolution
Sets the data for this node.
Sets the data for this node.
Attributes
- data
the data to associate with this node, which may be empty, but not
null
- version
a
Some
containing the expected version of this node orNone
if a version match is not required- Returns:
the status of the node
- See also:
SynchronousZookeeper.set for further details