This package contains cluster and connection event related classes
Interface Summary Interface Description ClusterListenerA listener for cluster-related events. CommandListenerA listener for command events ConnectionListener Deprecated.- No longer used ConnectionPoolListenerA listener for connection pool-related events. ServerListenerA listener for server-related events ServerMonitorListenerA listener for server monitor-related events
Class Summary Class Description ClusterClosedEventA cluster closed event. ClusterDescriptionChangedEventAn event signifying that the cluster description has changed. ClusterEventMulticaster Deprecated.register multiple cluster listeners instead ClusterListenerAdapterAn adapter for cluster listener implementations, for clients that want to listen for a subset of cluster events. ClusterOpeningEventA cluster opening event. CommandEventAn event representing a MongoDB database command. CommandEventMulticaster Deprecated.register multiple command listeners instead CommandFailedEventAn event representing the failure of a MongoDB database command. CommandListenerMulticaster Deprecated.register multiple command listeners in the settings CommandStartedEventAn event representing the start of a command execution. CommandSucceededEventAn event representing the completion of a MongoDB database command. ConnectionAddedEventAn event for adding a new connection to the pool. ConnectionCheckedInEventAn event for checking in a connection to the pool. ConnectionCheckedOutEventAn event for checking our a connection from the pool. ConnectionClosedEvent Deprecated.there is no replacement for this class ConnectionMessageReceivedEvent Deprecated.- No longer used ConnectionMessagesSentEvent Deprecated.- No longer used ConnectionOpenedEvent Deprecated.there is no replacement for this class ConnectionPoolClosedEventAn event signifying the closing of a connection pool. ConnectionPoolEventMulticaster Deprecated.register multiple command listeners instead ConnectionPoolListenerAdapterAn adapter for connection pool listener implementations, for clients that want to listen for a subset of connection pool events. ConnectionPoolOpenedEventAn event signifying the opening of a connection pool. ConnectionPoolWaitQueueEnteredEventAn event for entering the wait queue of the connection pool. ConnectionPoolWaitQueueExitedEventAn event for entering the wait queue of the connection pool. ConnectionRemovedEventAn event for removing a connection from the pool. ServerClosedEventA server opening event. ServerDescriptionChangedEventAn event for changes to the description of a server. ServerEventMulticaster Deprecated.register multiple server listeners instead ServerHeartbeatFailedEventAn event for server heartbeat failures. ServerHeartbeatStartedEventAn event for the start of a server heartbeat. ServerHeartbeatSucceededEventAn event for successful completion of a server heartbeat. ServerListenerAdapterAn adapter for server listener implementations, for clients that want to listen for a subset of server events. ServerMonitorEventMulticaster Deprecated.register multiple server monitor listeners instead ServerMonitorListenerAdapterAn adapter for server monitor listener implementations, for clients that want to listen for a subset of server monitor-related events. ServerOpeningEventA server opening event.
Enum Summary Enum Description ConnectionRemovedEvent.ReasonAn enumeration of the reasons a connection could be closed