Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ConnectionInfo<K> |
AbstractProxyMultipleConnection.reconnectMain()
Creates a connection back to the main server for this connection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractProxyMultipleConnection.updateMain(ConnectionInfo<K> newConn)
Update the state with the new primary server.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionInfo<Server> |
ReplicaSetReconnectStrategy.checkForReply(Cluster state,
Map<Server,Future<Reply>> answers,
Map<Server,Connection> connections,
long deadline)
Checks for a reply from a server.
|
protected ConnectionInfo<Server> |
ReplicaSetConnection.reconnectMain()
Creates a connection back to the main server for this connection.
|
ConnectionInfo<Server> |
ReplicaSetReconnectStrategy.reconnectPrimary()
Overridden to search for the primary server in the replica set.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionInfo<Server> |
ShardedConnection.reconnectMain()
Creates a connection back to the main server for this connection.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.