Package | Description |
---|---|
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.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.
|
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,
ConnectionFactory connectionFactory)
Create a new ClientImpl.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationConnectionFactory
AuthenticationConnectionFactory wraps all of the connections with
AuthenticatingConnection s. |
Modifier and Type | Class and Description |
---|---|
class |
BootstrapConnectionFactory
Provides the ability to bootstrap into the appropriate
ConnectionFactory based on the configuration of the server(s)
connected to. |
Modifier and Type | Method and Description |
---|---|
protected ConnectionFactory |
BootstrapConnectionFactory.bootstrapReplicaSet(ProxiedConnectionFactory factory)
Initializes the factory for connecting to the replica set.
|
protected ConnectionFactory |
BootstrapConnectionFactory.bootstrapSharded(ProxiedConnectionFactory factory)
Initializes the factory for connecting to the sharded cluster.
|
protected ConnectionFactory |
BootstrapConnectionFactory.getDelegate()
Returns the underlying delegate factory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BootstrapConnectionFactory.setDelegate(ConnectionFactory delegate)
Sets the underlying delegate factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProxiedConnectionFactory
Provides an interface for creating proxied connections.
|
Modifier and Type | Class and Description |
---|---|
class |
ReplicaSetConnectionFactory
Provides the ability to create connections to a replica-set environment.
|
Modifier and Type | Class and Description |
---|---|
class |
ShardedConnectionFactory
Provides the ability to create connections to a shard configuration via
mongos servers.
|
Modifier and Type | Class and Description |
---|---|
class |
SocketConnectionFactory
ConnectionFactory to create direct socket connections to the servers. |
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.