Package | Description |
---|---|
com.allanbank.mongodb.connection |
Provides interfaces for managing connections to different MongoDB server 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.setSelector(ServerSelector selector)
Sets the selector to be used by the reconnection strategy.
|
Modifier and Type | Class and Description |
---|---|
class |
LatencyServerSelector
LatencyServerSelector provides an implementation of the server selector that
uses the server latencies to determine the server to select.
|
Modifier and Type | Field and Description |
---|---|
protected ServerSelector |
AbstractReconnectStrategy.mySelector
The selector for which server to connect to.
|
Modifier and Type | Method and Description |
---|---|
ServerSelector |
AbstractReconnectStrategy.getSelector()
Returns the selector for which server to connect to.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractReconnectStrategy.setSelector(ServerSelector selector)
Sets the selector to be used by the reconnection strategy.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.