com.twitter.finagle.serverset2.client
Add the specified scheme: auth information to this connection.
Add the specified scheme: auth information to this connection.
the authentication scheme to use.
the authentication credentials.
a Future[Unit]
Check if a node exists.
Check if a node exists.
the path of the node to check.
a Future[Option[Data.Stat] containing Some[Stat] if the node exists, or None if the node does not exist.
A version of exists that sets a watch and returns a Future[Watched[Option[Data.Stat]]]
A version of exists that sets a watch and returns a Future[Watched[Option[Data.Stat]]]
Get the ACL of the node of the given path.
Get the ACL of the node of the given path.
the path of the node to read.
a Future[Node.ACL]
For a node at a given path return its stat and a list of children.
For a node at a given path return its stat and a list of children.
the path of the node to read.
a Future[Node.Children]
A version of getChildren that sets and returns a Future[Watched[Node.Children]]
A version of getChildren that sets and returns a Future[Watched[Node.Children]]
Return the data of the node of the given path.
Return the data of the node of the given path.
the path of the node to read.
a Future[Node.Data]
A version of getData that sets a watch and returns a Future[Watched[Node.Data]]
A version of getData that sets a watch and returns a Future[Watched[Node.Data]]
Get the existing ephemeral nodes created with the current session ID.
Get the existing ephemeral nodes created with the current session ID.
NOTE: This method is not universally implemented. The Future will fail with KeeperException.Unimplemented if this is the case.
a Future[Seq[String]] of ephemeral node paths.
The session id for this ZooKeeper client instance.
The session id for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.
current session id
The session password for this ZooKeeper client instance.
The session password for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.
current session password
The negotiated session timeout for this ZooKeeper client instance.
The negotiated session timeout for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.
current session timeout
Sync.
Sync. Flushes channel between process and leader.
the path of the node to sync.
a Future[Unit]