| Package | Description |
|---|---|
| com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
| Modifier and Type | Method and Description |
|---|---|
ServerConnectionState |
ServerDescription.getState()
Gets the current state of the connection to the server.
|
static ServerConnectionState |
ServerConnectionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerConnectionState[] |
ServerConnectionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ServerDescription.Builder |
ServerDescription.Builder.state(ServerConnectionState state)
The current state of the connection to the server.
|
Copyright © 2017. All Rights Reserved.