Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Field and Description |
---|---|
private ClusterClock |
BaseCluster.clusterClock |
private ClusterClock |
DefaultServerMonitorFactory.clusterClock |
private ClusterClock |
ClusterClockAdvancingSessionContext.clusterClock |
private ClusterClock |
DefaultServerMonitor.clusterClock |
private ClusterClock |
DefaultServer.clusterClock |
Modifier and Type | Method and Description |
---|---|
ClusterableServer |
ClusterableServerFactory.create(ServerAddress serverAddress,
ServerListener serverListener,
ClusterClock clusterClock) |
ClusterableServer |
DefaultClusterableServerFactory.create(ServerAddress serverAddress,
ServerListener serverListener,
ClusterClock clusterClock) |
(package private) static BsonDocument |
CommandHelper.executeCommand(java.lang.String database,
BsonDocument command,
ClusterClock clusterClock,
InternalConnection internalConnection) |
private static BsonDocument |
CommandHelper.sendAndReceive(java.lang.String database,
BsonDocument command,
ClusterClock clusterClock,
InternalConnection internalConnection) |
Constructor and Description |
---|
ClusterClockAdvancingSessionContext(SessionContext wrapped,
ClusterClock clusterClock) |
DefaultServer(ServerId serverId,
ClusterConnectionMode clusterConnectionMode,
ConnectionPool connectionPool,
ConnectionFactory connectionFactory,
ServerMonitorFactory serverMonitorFactory,
ServerListener serverListener,
CommandListener commandListener,
ClusterClock clusterClock) |
DefaultServerMonitor(ServerId serverId,
ServerSettings serverSettings,
ClusterClock clusterClock,
ChangeListener<ServerDescription> serverStateListener,
InternalConnectionFactory internalConnectionFactory,
ConnectionPool connectionPool) |
DefaultServerMonitorFactory(ServerId serverId,
ServerSettings settings,
ClusterClock clusterClock,
InternalConnectionFactory internalConnectionFactory,
ConnectionPool connectionPool) |