ConnectionPoolSettings (driver-core 5.5.0 API) (original) (raw)


All settings that relate to the pool of connections to a MongoDB server.

Since:

3.0

Nested Classes
static final class
A builder for creating ConnectionPoolSettings.

[builder](#builder%28%29)()
Gets a Builder for creating a new ConnectionPoolSettings instance.
Gets a Builder for creating a new ConnectionPoolSettings instance.
boolean
Gets the list of added ConnectionPoolListener.
long
Returns the time period between runs of the maintenance job.
long
Returns the period of time to wait before running the first maintenance job on the connection pool.
int
The maximum number of connections a pool may be establishing concurrently.
long
Returns the maximum idle time of a pooled connection.
long
The maximum time a pooled connection can live for.
int
The maximum number of connections allowed.
long
int
The minimum number of connections.
int
[hashCode](#hashCode%28%29)()
[toString](#toString%28%29)()