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.client.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
com.allanbank.mongodb.client.connection.auth |
Wraps a connection and ensures that all requests are properly authenticated.
|
com.allanbank.mongodb.client.connection.bootstrap |
Bootstraps a the correct type of connections for the type of MongoDB cluster.
|
com.allanbank.mongodb.client.connection.rs |
Support for connections to Replica Sets.
|
com.allanbank.mongodb.client.connection.sharded |
Support for connections to Sharded Configurations.
|
com.allanbank.mongodb.client.connection.socket |
Low level socket connection to a single MongoDB server.
|
com.allanbank.mongodb.client.state |
Support for tracking the state of a set of MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
ClusterType |
SerialClientImpl.getClusterType()
Returns the type of cluster the client is connected to.
|
ClusterType |
ClientImpl.getClusterType()
Returns the type of cluster the client is connected to.
|
ClusterType |
Client.getClusterType()
Returns the type of cluster the client is connected 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 |
ConnectionFactory.getClusterType()
Returns the type of cluster the connection factory connects to.
|
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 |
---|---|
ClusterType |
Cluster.getType()
Returns the type of cluster.
|
Modifier and Type | Method and Description |
---|---|
Future<Reply> |
ClusterPinger.Pinger.pingAsync(ClusterType type,
Server server,
Connection conn)
Pings the server and suppresses all exceptions.
|
Constructor and Description |
---|
Cluster(MongoClientConfiguration config,
ClusterType type)
Creates a new CLusterState.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.