Builder
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Returns true
if the client will allow read-only connections to ZooKeeper under conditions in which a majority of
servers cannot be established.
Returns true
if the client will allow read-only connections to ZooKeeper under conditions in which a majority of
servers cannot be established.
Attributes
- Returns:
true
if read-only is allowed,false
otherwise
Returns an optional execution context to which asynchronous tasks are submitted.
Returns an optional execution context to which asynchronous tasks are submitted.
Use this feature when an application container prefers to manage the execution context.
Attributes
- Returns:
an execution context if specified, otherwise
null
Returns an optional root path.
Returns an optional root path.
Attributes
- Returns:
the root path if specified, otherwise an empty string
Returns a sequence of server endpoints in this cluster.
Returns a sequence of server endpoints in this cluster.
These endpoints do not necessarily need to reflect all servers in the cluster, only those to which the client desires to make a possible connection.
Attributes
- Returns:
a sequence of socket addresses
Returns the period of time after which the session is expired.
Returns the period of time after which the session is expired.
Note that this value is only a proposal and that ZooKeeper may use a different timeout.
Attributes
- Returns:
the session timeout
Returns an optional function that is called when state changes occur in the session.
Returns an optional function that is called when state changes occur in the session.
Note that a new session may be established if the client disconnects and reconnects to ZooKeeper, particularly with
respect to the session id
and password
.
Attributes
- Returns:
a function that receives session state changes, otherwise
null
if not specified