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.client.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
com.allanbank.mongodb.client.connection.auth |
Wraps a connection and ensures that all requests are properly authenticated.
|
com.allanbank.mongodb.client.connection.bootstrap |
Bootstraps a the correct type of connections for the type of MongoDB cluster.
|
com.allanbank.mongodb.client.connection.proxy |
Support for connection that delegate to a lower level connection.
|
com.allanbank.mongodb.client.connection.rs |
Support for connections to Replica Sets.
|
com.allanbank.mongodb.client.connection.sharded |
Support for connections to Sharded Configurations.
|
com.allanbank.mongodb.client.connection.socket |
Low level socket connection to a single MongoDB server.
|
com.allanbank.mongodb.client.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 |
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 |
ClientImpl.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
MongoClientConfiguration |
Client.getConfig()
Returns the configuration being used by the logical MongoDB connection.
|
Modifier and Type | Method and Description |
---|---|
protected static ConnectionFactory |
ClientImpl.resolveBootstrap(MongoClientConfiguration config)
Resolves the bootstrap connection factory to use.
|
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(Server 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.
|
Modifier and Type | Method and Description |
---|---|
protected MongoClientConfiguration |
BootstrapConnectionFactory.getConfig()
The configuration for the client.
|
Constructor and Description |
---|
BootstrapConnectionFactory(MongoClientConfiguration config)
Creates a
BootstrapConnectionFactory |
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
AbstractProxyMultipleConnection.myConfig
The MongoDB client configuration.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ProxiedConnectionFactory.connect(Server server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
Constructor and Description |
---|
AbstractProxyMultipleConnection(Connection proxiedConnection,
K server,
Cluster cluster,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
AbstractProxyMultipleConnection . |
Constructor and Description |
---|
ReplicaSetConnection(Connection proxiedConnection,
Server server,
Cluster cluster,
ProxiedConnectionFactory factory,
MongoClientConfiguration config,
ReplicaSetReconnectStrategy strategy)
Creates a new
ReplicaSetConnection . |
ReplicaSetConnectionFactory(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ReplicaSetConnectionFactory . |
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
ShardedConnectionFactory.myConfig
The MongoDB client configuration.
|
Modifier and Type | Method and Description |
---|---|
protected Cluster |
ShardedConnectionFactory.createCluster(MongoClientConfiguration config)
Creates a
Cluster object to track the state of the servers across
the cluster. |
protected ClusterPinger |
ShardedConnectionFactory.createClusterPinger(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a
ClusterPinger object to periodically update the status
of the servers. |
Constructor and Description |
---|
ShardedConnection(Connection proxiedConnection,
Server server,
Cluster cluster,
ServerSelector selector,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ShardedConnection . |
ShardedConnectionFactory(ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ShardedConnectionFactory . |
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
AbstractSocketConnection.myConfig
The connections configuration.
|
Modifier and Type | Method and Description |
---|---|
Connection |
SocketConnectionFactory.connect(Server server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
protected void |
AbstractSocketConnection.updateSocketWithOptions(MongoClientConfiguration config)
Updates the socket with the configuration's socket options.
|
Modifier and Type | Field and Description |
---|---|
protected MongoClientConfiguration |
Cluster.myConfig
The configuration for connecting to the servers.
|
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 |
---|
Cluster(MongoClientConfiguration config,
ClusterType type)
Creates a new CLusterState.
|
ClusterPinger(Cluster cluster,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new ClusterPinger.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.