Package | Description |
---|---|
com.allanbank.mongodb.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
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.state |
Support for tracking the state of a set of MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
void |
ReconnectStrategy.setState(ClusterState state)
Sets the state of the cluster to be used by the reconnection strategy.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterState |
ReplicaSetConnectionFactory.getClusterState()
Returns the clusterState value.
|
Constructor and Description |
---|
ReplicaSetConnection(Connection proxiedConnection,
ServerState server,
ClusterState cluster,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new
ReplicaSetConnection . |
Modifier and Type | Method and Description |
---|---|
protected ClusterState |
ShardedConnectionFactory.getClusterState()
Returns the clusterState value.
|
Modifier and Type | Field and Description |
---|---|
protected ClusterState |
AbstractReconnectStrategy.myState
The state of the cluster.
|
Modifier and Type | Method and Description |
---|---|
ClusterState |
AbstractReconnectStrategy.getState()
Returns the state of the cluster.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractReconnectStrategy.setState(ClusterState state)
Sets the state of the cluster to be used by the reconnection strategy.
|
Constructor and Description |
---|
ClusterPinger(ClusterState cluster,
ClusterType clusterType,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new ClusterPinger.
|
LatencyServerSelector(ClusterState cluster,
boolean writableOnly)
Creates a new LatencyServerSelector.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.