Package io.quarkus.mongodb.metrics
Class MongoMetricsConnectionPoolListener
java.lang.Object
io.quarkus.mongodb.metrics.MongoMetricsConnectionPoolListener
- All Implemented Interfaces:
com.mongodb.event.ConnectionPoolListener,EventListener
public class MongoMetricsConnectionPoolListener
extends Object
implements com.mongodb.event.ConnectionPoolListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionCheckedIn(com.mongodb.event.ConnectionCheckedInEvent event) voidconnectionCheckedOut(com.mongodb.event.ConnectionCheckedOutEvent event) voidconnectionClosed(com.mongodb.event.ConnectionClosedEvent event) voidconnectionCreated(com.mongodb.event.ConnectionCreatedEvent event) voidconnectionPoolCreated(com.mongodb.event.ConnectionPoolCreatedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mongodb.event.ConnectionPoolListener
connectionCheckOutFailed, connectionCheckOutStarted, connectionPoolCleared, connectionPoolClosed, connectionPoolReady, connectionReady
-
Constructor Details
-
MongoMetricsConnectionPoolListener
public MongoMetricsConnectionPoolListener()
-
-
Method Details
-
connectionPoolCreated
public void connectionPoolCreated(com.mongodb.event.ConnectionPoolCreatedEvent event) - Specified by:
connectionPoolCreatedin interfacecom.mongodb.event.ConnectionPoolListener
-
connectionCheckedOut
public void connectionCheckedOut(com.mongodb.event.ConnectionCheckedOutEvent event) - Specified by:
connectionCheckedOutin interfacecom.mongodb.event.ConnectionPoolListener
-
connectionCheckedIn
public void connectionCheckedIn(com.mongodb.event.ConnectionCheckedInEvent event) - Specified by:
connectionCheckedInin interfacecom.mongodb.event.ConnectionPoolListener
-
connectionCreated
public void connectionCreated(com.mongodb.event.ConnectionCreatedEvent event) - Specified by:
connectionCreatedin interfacecom.mongodb.event.ConnectionPoolListener
-
connectionClosed
public void connectionClosed(com.mongodb.event.ConnectionClosedEvent event) - Specified by:
connectionClosedin interfacecom.mongodb.event.ConnectionPoolListener
-