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


An immutable class representing socket settings used for connections to a MongoDB server.

Since:

3.0

Nested Classes
static final class
A builder for an instance of SocketSettings.

[builder](#builder%28%29)()
Gets a builder for an instance of SocketSettings.
Creates a builder instance.
boolean
int
Gets the timeout for socket connect.
Gets the proxy settings used for connecting to MongoDB via a SOCKS5 proxy server.
int
Gets the timeout for socket reads.
int
Gets the receive buffer size.
int
Gets the send buffer size.
int
[hashCode](#hashCode%28%29)()
[toString](#toString%28%29)()