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 eventsConnectionPoolListener 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.ClusterListenerAdapter Deprecated. ClusterOpeningEvent A cluster opening event.CommandEvent An event representing a MongoDB database command.CommandFailedEvent An event representing the failure of a MongoDB database command.CommandStartedEvent An event representing the start of a command execution.CommandSucceededEvent An event representing the completion of a MongoDB database command.ConnectionAddedEvent Deprecated. PreferConnectionCreatedEvent
ConnectionCheckedInEvent An event for checking in a connection to the pool.ConnectionCheckedOutEvent An event for checking our a connection from the pool.ConnectionCheckOutFailedEvent An event for when checking out a connection fails.ConnectionCheckOutStartedEvent An event for when the driver starts to checkout out a connection.ConnectionClosedEvent An event for when a connection pool closes a connection.ConnectionCreatedEvent An event for creating a connection in the pool.ConnectionPoolClearedEvent An event signifying when a connection pool is cleared.ConnectionPoolClosedEvent An event signifying the closing of a connection pool.ConnectionPoolCreatedEvent An event signifying that a connection pool was created.ConnectionPoolListenerAdapter Deprecated. ConnectionPoolOpenedEvent Deprecated. PreferConnectionPoolCreatedEvent
ConnectionReadyEvent An event for when a connection in the pool has finished its setup and is ready for use.ConnectionRemovedEvent Deprecated. PreferConnectionClosedEvent
ServerClosedEvent A server opening event.ServerDescriptionChangedEvent An event for changes to the description of a server.ServerHeartbeatFailedEvent 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 Deprecated. ServerMonitorListenerAdapter Deprecated. ServerOpeningEvent A server opening event. -
Enum Summary Enum Description ConnectionCheckOutFailedEvent.Reason An enumeration of the reasons checking out a connection failedConnectionClosedEvent.Reason An enumeration of the reasons a connection could be closedConnectionRemovedEvent.Reason An enumeration of the reasons a connection could be closed