Package | Description |
---|---|
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
com.allanbank.mongodb.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
com.allanbank.mongodb.connection.auth |
Wraps a connection and ensures that all requests are properly authenticated.
|
com.allanbank.mongodb.connection.bootstrap |
Bootstraps a the correct type of connections for the type of MongoDB cluster.
|
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.socket |
Low level socket connection to a single MongoDB server.
|
com.allanbank.mongodb.connection.state |
Support for tracking the state of a set of MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
ClientImpl.getClusterType()
Returns the type of cluster the client is connected to.
|
ClusterType |
SerialClientImpl.getClusterType()
Returns the type of cluster the client is connected to.
|
ClusterType |
Client.getClusterType()
Returns the type of cluster the client is connected to.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
ConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
static ClusterType |
ClusterType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterType[] |
ClusterType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
AuthenticationConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
BootstrapConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
ReplicaSetConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
ShardedConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
SocketConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
Modifier and Type | Method and Description |
---|---|
Future<Reply> |
ClusterPinger.Pinger.pingAsync(ClusterType type,
InetSocketAddress addr,
Connection conn,
ServerState state)
Pings the server and suppresses all exceptions.
|
Constructor and Description |
---|
ClusterPinger(ClusterState cluster,
ClusterType clusterType,
ProxiedConnectionFactory factory,
MongoClientConfiguration config)
Creates a new ClusterPinger.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.