public abstract static class MongoDbDatabase.SocketSettings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MongoDbDatabase.SocketSettings.Builder |
Constructor and Description |
---|
SocketSettings() |
Modifier and Type | Method and Description |
---|---|
static MongoDbDatabase.SocketSettings.Builder |
builder() |
abstract long |
connectTimeout()
The timeout for the socket to connect.
|
long |
connectTimeout(TimeUnit unit) |
abstract long |
readTimeout()
The timeout for socket reads.
|
long |
readTimeout(TimeUnit unit) |
abstract int |
receiveBufferSize()
The size of the buffer when receiving from the socket.
|
abstract int |
sendBufferSize()
The size of the buffer when sending to the socket.
|
public abstract long connectTimeout()
public long connectTimeout(TimeUnit unit)
public abstract long readTimeout()
public long readTimeout(TimeUnit unit)
public abstract int receiveBufferSize()
public abstract int sendBufferSize()
public static MongoDbDatabase.SocketSettings.Builder builder()
Copyright © 2021. All rights reserved.