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]
Create a node of a given type with the given path.
Create a node of a given type with the given path. The node data will be the given data, and node acl will be the given acl.
the path for the node.
the initial data for the node.
a sequence of ACLs for the node.
specifies what type of node to create.
a Future[String] containing the actual path of the created node.
Delete the node with the given path.
Delete the node with the given path. The call will succeed if such a node exists, and the given version matches the node's version (if the given version is None, it matches any node's versions).
This operation, if successful, will trigger all the watches on the node of the given path left by existsWatch API calls, and the watches on the parent node left by getChildrenWatch API calls.
the path of the node to be deleted.
the expected node version.
a Future[Unit]
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
Set the ACL for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions)
Set the ACL for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions)
the path of the node to write.
a list of Data.ACL to apply to the node.
the expected matching version.
a Future[Data.Stat]
Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions).
Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions).
This operation, if successful, will trigger all the watches on the node of the given path left by getDataWatch calls.
the path of the node to write.
the data to set.
the expected matching version.
a Future[Data.Stat]