See: Description
Interface | Description |
---|---|
Connection |
Provides the lowest level interface for interacting with a MongoDB server.
|
ConnectionFactory |
Provides an abstraction for constructing a connection.
|
Message |
Common interface for all MongoDB messages read from and sent to a MongoDB
server.
|
ReconnectStrategy |
ReconnectStrategy provides a common interface for a strategy for reconnecting
to a MongoDB server.
|
Class | Description |
---|---|
FutureCallback<V> |
Enum | Description |
---|---|
ClusterType |
ClusterType provides an enumeration of the types of cluster configurations
supported.
|
Operation |
Enumeration of the possible operations allowed in MongoDB messages.
|
Users should not need to directly use the classes within this package.
ConnectionFactory
instances are responsible for creating and
managing the state for a set of connections to MongoDB. Connection
provides the basic interface for sending and asynchronously receiving replies from the MongoDB servers.
Connection factories and connections are layered to achieve the desired interaction with the MongoDB servers.
The com.allanbank.mongodb.connection.bootstrap
package contains a ConnectionFactory that simply detects the type of MongoDB cluster being used and then delegates all future request to an appropriate delegate for the cluster type.The com.allanbank.mongodb.connection.auth
package contains a ConnectionFactory that wraps another connection factory and ensures all requests are properly authenticated prior to being sent to the server.The com.allanbank.mongodb.connection.rs
package that knows how to manage connections to a replica-set configuration.The com.allanbank.mongodb.connection.sharded
package that knows how to manage connections to a sharded configuration.The com.allanbank.mongodb.connection.socket
package that creates a direct socket connection to the MongoDB server.The com.allanbank.mongodb.connection.proxy
package contains base classes for ConnectionFactory and Connection implementations that delegate to another implementation.The com.allanbank.mongodb.connection.state package contains support classes for state management.
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.