| Package | Description |
|---|---|
| com.allanbank.mongodb |
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
|
| com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply(s) from the server. |
| com.allanbank.mongodb.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
| com.allanbank.mongodb.connection.auth |
Wraps a connection and ensures that all requests are properly authenticated.
|
| com.allanbank.mongodb.connection.bootstrap |
Bootstraps a the correct type of connections for the type of MongoDB cluster.
|
| com.allanbank.mongodb.connection.proxy |
Support for connection that delegate to a lower level connection.
|
| com.allanbank.mongodb.connection.rs |
Support for connections to Replica Sets.
|
| com.allanbank.mongodb.connection.sharded |
Support for connections to Sharded Configurations.
|
| com.allanbank.mongodb.connection.socket |
Low level socket connection to a single MongoDB server.
|
| com.allanbank.mongodb.connection.state |
Support for tracking the state of a set of MongoDB servers.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDbConfiguration |
MongoDbConfiguration.clone()
Creates a copy of this MongoDbConfiguration.
|
MongoDbConfiguration |
Mongo.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
| Modifier and Type | Method and Description |
|---|---|
static Mongo |
MongoFactory.create(MongoDbConfiguration config)
Creates a new
Mongo instance using the
MongoDbConfiguration. |
| Constructor and Description |
|---|
MongoDbConfiguration(MongoDbConfiguration other)
Creates a new MongoDbConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDbConfiguration |
ClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoDbConfiguration |
SerialClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoDbConfiguration |
MongoImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoDbConfiguration |
Client.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
| Constructor and Description |
|---|
ClientImpl(MongoDbConfiguration config)
Create a new ClientImpl.
|
ClientImpl(MongoDbConfiguration config,
ConnectionFactory connectionFactory)
Create a new ClientImpl.
|
MongoImpl(MongoDbConfiguration config)
Create a new MongoClient.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReconnectStrategy.setConfig(MongoDbConfiguration config)
Sets the configuration to be used by the reconnection strategy.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticatingConnection |
AuthenticationConnectionFactory.connect(ServerState server,
MongoDbConfiguration config)
Creates a connection to the address provided.
|
| Constructor and Description |
|---|
AuthenticatingConnection(Connection connection,
MongoDbConfiguration config)
Creates a new AuthenticatingConnection.
|
AuthenticationConnectionFactory(ProxiedConnectionFactory factory,
MongoDbConfiguration config)
Creates a new AuthenticationConnectionFactory.
|
| Constructor and Description |
|---|
BootstrapConnectionFactory(MongoDbConfiguration config)
Creates a
BootstrapConnectionFactory |
| Modifier and Type | Field and Description |
|---|---|
protected MongoDbConfiguration |
AbstractProxyConnection.myConfig
The MongoDB client configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
ProxiedConnectionFactory.connect(ServerState server,
MongoDbConfiguration config)
Creates a connection to the address provided.
|
| Constructor and Description |
|---|
AbstractProxyConnection(Connection proxiedConnection,
MongoDbConfiguration config)
Creates a AbstractProxyConnection.
|
| Constructor and Description |
|---|
ReplicaSetConnection(Connection proxiedConnection,
ServerState server,
ClusterState cluster,
ProxiedConnectionFactory factory,
MongoDbConfiguration config)
Creates a new
ReplicaSetConnection. |
ReplicaSetConnectionFactory(ProxiedConnectionFactory factory,
MongoDbConfiguration config)
Creates a new
ReplicaSetConnectionFactory. |
| Constructor and Description |
|---|
ShardedConnection(Connection proxiedConnection,
MongoDbConfiguration config)
Creates a new
ShardedConnection. |
ShardedConnectionFactory(ProxiedConnectionFactory factory,
MongoDbConfiguration config)
Creates a new
ShardedConnectionFactory. |
| Modifier and Type | Method and Description |
|---|---|
Connection |
SocketConnectionFactory.connect(ServerState server,
MongoDbConfiguration config)
Creates a connection to the address provided.
|
| Constructor and Description |
|---|
SocketConnection(ServerState server,
MongoDbConfiguration config)
Creates a new SocketConnection to a MongoDB server.
|
SocketConnectionFactory(MongoDbConfiguration config)
Creates a new
SocketConnectionFactory. |
| Modifier and Type | Field and Description |
|---|---|
protected MongoDbConfiguration |
AbstractReconnectStrategy.myConfig
The configuration for connections to the servers.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDbConfiguration |
AbstractReconnectStrategy.getConfig()
Returns the configuration for connections to the servers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractReconnectStrategy.setConfig(MongoDbConfiguration config)
Sets the configuration to be used by the reconnection strategy.
|
| Constructor and Description |
|---|
ClusterPinger(ClusterState cluster,
ClusterType clusterType,
ProxiedConnectionFactory factory,
MongoDbConfiguration config)
Creates a new ClusterPinger.
|
ClusterState(MongoDbConfiguration config)
Creates a new CLusterState.
|
Copyright © 2011-2012 Allanbank Consulting, Inc.. All Rights Reserved.