Package com.mongodb.event
package com.mongodb.event
This package contains cluster and connection event related classes
-
ClassDescriptionA cluster closed event.An event signifying that the cluster description has changed.A listener for cluster-related events.Deprecated.A cluster opening event.An event representing a MongoDB database command.An event representing the failure of a MongoDB database command.A listener for command eventsAn event representing the start of a command execution.An event representing the completion of a MongoDB database command.Deprecated.An event for checking in a connection to the pool.An event for checking out a connection from the pool.An event for when checking out a connection fails.An enumeration of the reasons checking out a connection failedAn event for when the driver starts to check out a connection.An event for when a connection pool closes a connection.An enumeration of the reasons a connection could be closedAn event for creating a connection in the pool.An event signifying when a connection pool is cleared and paused.An event signifying the closing of a connection pool.An event signifying that a connection pool was created.A listener for connection pool-related events.Deprecated.Deprecated.Prefer
ConnectionPoolCreatedEvent
An event signifying when a connection pool is ready.An event for when a connection in the pool has finished its setup and is ready for use.Deprecated.PreferConnectionClosedEvent
An enumeration of the reasons a connection could be closedA server opening event.An event for changes to the description of a server.An event for server heartbeat failures.An event for the start of a server heartbeat.An event for successful completion of a server heartbeat.A listener for server-related eventsDeprecated.A listener for server monitor-related eventsDeprecated.A server opening event.
ConnectionCreatedEvent