Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Class and Description |
---|---|
private class |
DefaultServer.DefaultServerStateListener |
Modifier and Type | Field and Description |
---|---|
private ChangeListener<ServerDescription> |
DefaultServerMonitor.serverStateListener |
private ChangeListener<ServerDescription> |
DefaultServer.serverStateListener |
Modifier and Type | Method and Description |
---|---|
ServerMonitor |
ServerMonitorFactory.create(ChangeListener<ServerDescription> serverStateListener) |
ServerMonitor |
DefaultServerMonitorFactory.create(ChangeListener<ServerDescription> serverStateListener) |
Constructor and Description |
---|
DefaultServerMonitor(ServerId serverId,
ServerSettings serverSettings,
ClusterClock clusterClock,
ChangeListener<ServerDescription> serverStateListener,
InternalConnectionFactory internalConnectionFactory,
ConnectionPool connectionPool) |