Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
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 AsyncReadWriteBinding |
ClientSessionBinding.wrapped |
Modifier and Type | Method and Description |
---|---|
private AsyncReadWriteBinding |
AsyncOperationExecutorImpl.getReadWriteBinding(ReadPreference readPreference,
ClientSession session,
boolean ownsSession) |
AsyncReadWriteBinding |
ClientSessionBinding.retain() |
Constructor and Description |
---|
ClientSessionBinding(ClientSession session,
boolean ownsSession,
AsyncReadWriteBinding wrapped) |
Modifier and Type | Class and Description |
---|---|
class |
AsyncClusterBinding
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.
|
Modifier and Type | Method and Description |
---|---|
AsyncReadWriteBinding |
AsyncReadWriteBinding.retain() |
AsyncReadWriteBinding |
AsyncClusterBinding.retain() |