Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
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.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
ClientSessionBinding |
private class |
ClientSessionBinding.SessionBindingConnectionSource |
Modifier and Type | Class and Description |
---|---|
private class |
ClientSessionBinding.SessionBindingAsyncConnectionSource |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncConnectionSource
A source of connections to a single MongoDB server.
|
interface |
AsyncReadBinding
An asynchronous factory of connection sources to servers that can be read from and that satisfy the specified read preference.
|
interface |
AsyncReadWriteBinding
An asynchronous factory of connection sources to servers that can be read from or written to.
|
interface |
AsyncWriteBinding
An asynchronous factory of connection sources to servers that can be written to, e.g, a standalone, a mongos, or a replica set primary.
|
interface |
ConnectionSource
A source of connections to a single MongoDB server.
|
interface |
ReadBinding
A factory of connection sources to servers that can be read from and that satisfy the specified read preference.
|
interface |
ReadWriteBinding
A factory of connection sources to servers that can be read from or written to.
|
interface |
WriteBinding
A factory of connection sources to servers that can be written to, e.g, a standalone, a mongos, or a replica set primary.
|
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.
|
private class |
AsyncClusterBinding.AsyncClusterBindingConnectionSource |
class |
AsyncSingleConnectionReadBinding
An asynchronous read binding that is bound to a single connection.
|
private class |
AsyncSingleConnectionReadBinding.AsyncSingleConnectionSource |
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.
|
private class |
ClusterBinding.ClusterBindingConnectionSource |
class |
SingleConnectionReadBinding
A read binding that is bound to a single connection.
|
private class |
SingleConnectionReadBinding.SingleConnectionSource |
class |
SingleServerBinding
A simple binding where all connection sources are bound to the server specified in the constructor.
|
private class |
SingleServerBinding.SingleServerBindingConnectionSource |
Modifier and Type | Method and Description |
---|---|
ReferenceCounted |
ReferenceCounted.retain()
Retain an additional reference to this object.
|
ReferenceCounted |
AbstractReferenceCounted.retain() |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncConnection
An asynchronous connection to a MongoDB server with non-blocking operations.
|
interface |
Connection
A synchronous connection to a MongoDB server with blocking operations.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractReferenceCounted |
(package private) class |
DefaultServerConnection |
Modifier and Type | Method and Description |
---|---|
ReferenceCounted |
AbstractReferenceCounted.retain() |
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends ReferenceCounted> |
OperationHelper.ReferenceCountedReleasingWrappedCallback.referenceCounted |
Constructor and Description |
---|
ReferenceCountedReleasingWrappedCallback(SingleResultCallback<T> wrapped,
java.util.List<? extends ReferenceCounted> referenceCounted) |