Package com.mongodb.event
This package contains cluster and connection event related classes
-
Interface Summary Interface Description ClusterListener A listener for cluster-related events.CommandListener A listener for command eventsConnectionListener Deprecated. - No longer usedConnectionPoolListener A listener for connection pool-related events.ServerListener A listener for server-related eventsServerMonitorListener A listener for server monitor-related events -
Class Summary Class Description ClusterClosedEvent A cluster closed event.ClusterDescriptionChangedEvent An event signifying that the cluster description has changed.ClusterEventMulticaster Deprecated. register multiple cluster listeners insteadClusterListenerAdapter An adapter for cluster listener implementations, for clients that want to listen for a subset of cluster events.ClusterOpeningEvent A cluster opening event.CommandEvent An event representing a MongoDB database command.CommandEventMulticaster Deprecated. register multiple command listeners insteadCommandFailedEvent An event representing the failure of a MongoDB database command.CommandListenerMulticaster Deprecated. register multiple command listeners in the settingsCommandStartedEvent An event representing the start of a command execution.CommandSucceededEvent An event representing the completion of a MongoDB database command.ConnectionAddedEvent An event for adding a new connection to the pool.ConnectionCheckedInEvent An event for checking in a connection to the pool.ConnectionCheckedOutEvent An event for checking our a connection from the pool.ConnectionClosedEvent Deprecated. there is no replacement for this classConnectionMessageReceivedEvent Deprecated. - No longer usedConnectionMessagesSentEvent Deprecated. - No longer usedConnectionOpenedEvent Deprecated. there is no replacement for this classConnectionPoolClosedEvent An event signifying the closing of a connection pool.ConnectionPoolEventMulticaster Deprecated. register multiple command listeners insteadConnectionPoolListenerAdapter An adapter for connection pool listener implementations, for clients that want to listen for a subset of connection pool events.ConnectionPoolOpenedEvent An event signifying the opening of a connection pool.ConnectionPoolWaitQueueEnteredEvent An event for entering the wait queue of the connection pool.ConnectionPoolWaitQueueExitedEvent An event for entering the wait queue of the connection pool.ConnectionRemovedEvent An event for removing a connection from the pool.ServerClosedEvent A server opening event.ServerDescriptionChangedEvent An event for changes to the description of a server.ServerEventMulticaster Deprecated. register multiple server listeners insteadServerHeartbeatFailedEvent An event for server heartbeat failures.ServerHeartbeatStartedEvent An event for the start of a server heartbeat.ServerHeartbeatSucceededEvent An event for successful completion of a server heartbeat.ServerListenerAdapter An adapter for server listener implementations, for clients that want to listen for a subset of server events.ServerMonitorEventMulticaster Deprecated. register multiple server monitor listeners insteadServerMonitorListenerAdapter An adapter for server monitor listener implementations, for clients that want to listen for a subset of server monitor-related events.ServerOpeningEvent A server opening event. -
Enum Summary Enum Description ConnectionRemovedEvent.Reason An enumeration of the reasons a connection could be closed