Package | Description |
---|---|
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.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 | Method and Description |
---|---|
ReconnectStrategy |
ConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Method and Description |
---|---|
ReconnectStrategy |
AuthenticationConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Method and Description |
---|---|
ReconnectStrategy |
BootstrapConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Class and Description |
---|---|
class |
ReplicaSetReconnectStrategy
ReplicaSetReconnectStrategy provides a
ReconnectStrategy designed for
replica sets. |
Modifier and Type | Method and Description |
---|---|
ReconnectStrategy |
ReplicaSetConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Method and Description |
---|---|
ReconnectStrategy |
ShardedConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Method and Description |
---|---|
ReconnectStrategy |
SocketConnectionFactory.getReconnectStrategy()
Returns the reconnection strategy for the type of connections.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractReconnectStrategy
AbstractReconnectStrategy provides a base class for reconnection strategies.
|
class |
SimpleReconnectStrategy
SimpleReconnectStrategy provides a reconnection strategy to simply attempt to
connect to the server again.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.