Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
ServerVersion |
ConnectionDescription.getServerVersion()
Gets the version of the server.
|
ServerVersion |
ServerDescription.getVersion()
Gets the server version
|
Modifier and Type | Method and Description |
---|---|
int |
ServerVersion.compareTo(ServerVersion o) |
ServerDescription.Builder |
ServerDescription.Builder.version(ServerVersion version)
Sets the server version
|
Constructor and Description |
---|
ConnectionDescription(ConnectionId connectionId,
ServerVersion serverVersion,
ServerType serverType,
int maxBatchCount,
int maxDocumentSize,
int maxMessageSize)
Construct an instance.
|
Copyright © 2016. All Rights Reserved.