See: Description
Interface | Description |
---|---|
ServerSelector |
ServerSelector provides a common interface for a methodology to select a
server.
|
Class | Description |
---|---|
AbstractReconnectStrategy |
AbstractReconnectStrategy provides a base class for reconnection strategies.
|
ClusterPinger |
ClusterPinger pings each of the connections in the cluster and updates the
latency of the server from this client.
|
ClusterPinger.Pinger |
Pinger provides logic to ping servers.
|
ClusterState |
ClusterState tracks the state of the cluster of MongoDB servers. |
LatencyServerSelector |
LatencyServerSelector provides an implementation of the server selector that
uses the server latencies to determine the server to select.
|
SecondsBehindCallback |
SecondsBehindCallback provides a special callback to measure the number of
seconds a replica is behind the primary.
|
ServerLatencyCallback |
ServerLatencyCallback provides a special callback to measure the latency of
requests to a server.
|
ServerLatencyComparator |
Compares
ServerState s based on the latency of the servers. |
ServerState |
Tracks the state of a single server.
|
SimpleReconnectStrategy |
SimpleReconnectStrategy provides a reconnection strategy to simply attempt to
connect to the server again.
|
Users should not need to directly use the classes within this package.
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.