| Package | Description |
|---|---|
| com.mongodb |
The core mongodb package
|
| com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ClientSessionBinding |
| Modifier and Type | Field and Description |
|---|---|
private ReadWriteBinding |
ClientSessionBinding.wrapped |
| Modifier and Type | Method and Description |
|---|---|
ReadWriteBinding |
ClientSessionBinding.retain() |
| Constructor and Description |
|---|
ClientSessionBinding(ClientSession session,
boolean ownsSession,
ReadWriteBinding wrapped) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterBinding
A simple ReadWriteBinding implementation that supplies write connection sources bound to a possibly different primary each time, and a
read connection source bound to a possible different server each time.
|
class |
SingleServerBinding
A simple binding where all connection sources are bound to the server specified in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ReadWriteBinding |
ClusterBinding.retain() |
ReadWriteBinding |
ReadWriteBinding.retain() |