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 | Class and Description |
---|---|
class |
MongoDbConfiguration
Deprecated.
Please us the
MongoClientConfiguration instead. This
class will be removed on or after the 1.3.0 release. |
Modifier and Type | Method and Description |
---|---|
MongoClientConfiguration |
MongoClientConfiguration.clone()
Creates a copy of this MongoClientConfiguration.
|
MongoClientConfiguration |
MongoClient.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoFactory.createClient(MongoClientConfiguration config)
Creates a new
Mongo instance using the
MongoClientConfiguration . |
Constructor and Description |
---|
MongoClientConfiguration(MongoClientConfiguration other)
Creates a new MongoClientConfiguration.
|
Modifier and Type | Method and Description |
---|---|
MongoClientConfiguration |
ClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoClientConfiguration |
SerialClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoClientConfiguration |
MongoClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoClientConfiguration |
Client.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
Constructor and Description |
---|
ClientImpl(MongoClientConfiguration config)
Create a new ClientImpl.
|
ClientImpl(MongoClientConfiguration config,
ConnectionFactory connectionFactory)
Create a new ClientImpl.
|
MongoClientImpl(MongoClientConfiguration config)
Create a new MongoClient.
|
Modifier and Type | Method and Description |
---|---|
void |
ReconnectStrategy.setConfig(MongoClientConfiguration config)
Sets the configuration to be used by the reconnection strategy.
|
Modifier and Type | Method and Description |
---|---|
AuthenticatingConnection |
AuthenticationConnectionFactory.connect(ServerState server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
Constructor and Description |
---|
AuthenticatingConnection(Connection connection,
MongoClientConfiguration config)
Creates a new AuthenticatingConnection.
|
AuthenticationConnectionFactory(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new AuthenticationConnectionFactory.
|
Constructor and Description |
---|
BootstrapConnectionFactory(MongoClientConfiguration config)
Creates a
BootstrapConnectionFactory |
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
AbstractProxyConnection.myConfig
The MongoDB client configuration.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ProxiedConnectionFactory.connect(ServerState server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
Constructor and Description |
---|
AbstractProxyConnection(Connection proxiedConnection,
MongoClientConfiguration config)
Creates a AbstractProxyConnection.
|
Constructor and Description |
---|
ReplicaSetConnection(Connection proxiedConnection,
ServerState server,
ClusterState cluster,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ReplicaSetConnection . |
ReplicaSetConnectionFactory(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ReplicaSetConnectionFactory . |
Constructor and Description |
---|
ShardedConnection(Connection proxiedConnection,
MongoClientConfiguration config)
Creates a new
ShardedConnection . |
ShardedConnectionFactory(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ShardedConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
Connection |
SocketConnectionFactory.connect(ServerState server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
protected void |
SocketConnection.updateSocketWithOptions(MongoClientConfiguration config)
Updates the socket with the configuration's socket options.
|
Constructor and Description |
---|
SocketConnection(ServerState server,
MongoClientConfiguration config)
Creates a new SocketConnection to a MongoDB server.
|
SocketConnectionFactory(MongoClientConfiguration config)
Creates a new
SocketConnectionFactory . |
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
AbstractReconnectStrategy.myConfig
The configuration for connections to the servers.
|
Modifier and Type | Method and Description |
---|---|
MongoClientConfiguration |
AbstractReconnectStrategy.getConfig()
Returns the configuration for connections to the servers.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractReconnectStrategy.setConfig(MongoClientConfiguration config)
Sets the configuration to be used by the reconnection strategy.
|
Constructor and Description |
---|
ClusterPinger(ClusterState cluster,
ClusterType clusterType,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new ClusterPinger.
|
ClusterState(MongoClientConfiguration config)
Creates a new CLusterState.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.