Package | Description |
---|---|
com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionSource.getConnection()
Gets a connection from this source.
|
Constructor and Description |
---|
SingleConnectionReadBinding(ReadPreference readPreference,
ServerDescription serverDescription,
Connection connection)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
Connection |
Server.getConnection()
Gets a connection to this server.
|
Connection |
Connection.retain() |
Copyright © 2018. All rights reserved.