This package contains cluster and connection event related classes
Interface Summary Interface Description ClusterListenerA listener for cluster-related events. CommandListenerA listener for command events 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. ClusterListenerAdapter Deprecated. ClusterOpeningEventA cluster opening event. CommandEventAn event representing a MongoDB database command. CommandFailedEventAn event representing the failure of a MongoDB database command. CommandStartedEventAn event representing the start of a command execution. CommandSucceededEventAn event representing the completion of a MongoDB database command. ConnectionAddedEvent Deprecated.Prefer
ConnectionCheckedInEventAn event for checking in a connection to the pool. ConnectionCheckedOutEventAn event for checking our a connection from the pool. ConnectionCheckOutFailedEventAn event for when checking out a connection fails. ConnectionCheckOutStartedEventAn event for when the driver starts to checkout out a connection. ConnectionClosedEventAn event for when a connection pool closes a connection. ConnectionCreatedEventAn event for creating a connection in the pool. ConnectionPoolClearedEventAn event signifying when a connection pool is cleared. ConnectionPoolClosedEventAn event signifying the closing of a connection pool. ConnectionPoolCreatedEventAn event signifying that a connection pool was created. ConnectionPoolListenerAdapter Deprecated. ConnectionPoolOpenedEvent Deprecated.Prefer
ConnectionReadyEventAn event for when a connection in the pool has finished its setup and is ready for use. ConnectionRemovedEvent Deprecated.Prefer
ServerClosedEventA server opening event. ServerDescriptionChangedEventAn event for changes to the description of a server. ServerHeartbeatFailedEventAn event for server heartbeat failures. ServerHeartbeatStartedEventAn event for the start of a server heartbeat. ServerHeartbeatSucceededEventAn event for successful completion of a server heartbeat. ServerListenerAdapter Deprecated. ServerMonitorListenerAdapter Deprecated. ServerOpeningEventA server opening event.
Enum Summary Enum Description ConnectionCheckOutFailedEvent.ReasonAn enumeration of the reasons checking out a connection failed ConnectionClosedEvent.ReasonAn enumeration of the reasons a connection could be closed ConnectionRemovedEvent.ReasonAn enumeration of the reasons a connection could be closed