ClusterSettings (driver-core 5.4.0 API) (original) (raw)


Settings for the cluster.

Since:

3.0

Nested Classes
static final class
A builder for the cluster settings.

[builder](#builder%28%29)()
Get a builder for this class.
Creates a builder instance.
boolean
Gets the cluster listeners.
[getHosts](#getHosts%28%29)()
Gets the seed list of hosts for the cluster.
long
Gets the local threshold.
[getMode](#getMode%28%29)()
Gets the required replica set name.
long
Gets the timeout to apply when selecting a server.
Gets the server selector.
Returns a short, pretty description for these ClusterSettings.
Gets the host name from which to lookup SRV record for the seed list
Gets the maximum number of hosts to connect to when using SRV protocol.
Gets the SRV service name.
int
[hashCode](#hashCode%28%29)()
[toString](#toString%28%29)()