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 Details

    • MongoMetricsConnectionPoolListener

      public MongoMetricsConnectionPoolListener()
  • Method Details

    • connectionPoolOpened

      public void connectionPoolOpened(com.mongodb.event.ConnectionPoolOpenedEvent event)
      Specified by:
      connectionPoolOpened in interface com.mongodb.event.ConnectionPoolListener
    • connectionPoolClosed

      public void connectionPoolClosed(com.mongodb.event.ConnectionPoolClosedEvent event)
      Specified by:
      connectionPoolClosed in interface com.mongodb.event.ConnectionPoolListener
    • connectionCheckedOut

      public void connectionCheckedOut(com.mongodb.event.ConnectionCheckedOutEvent event)
      Specified by:
      connectionCheckedOut in interface com.mongodb.event.ConnectionPoolListener
    • connectionCheckedIn

      public void connectionCheckedIn(com.mongodb.event.ConnectionCheckedInEvent event)
      Specified by:
      connectionCheckedIn in interface com.mongodb.event.ConnectionPoolListener
    • connectionAdded

      public void connectionAdded(com.mongodb.event.ConnectionAddedEvent event)
      Specified by:
      connectionAdded in interface com.mongodb.event.ConnectionPoolListener
    • connectionRemoved

      public void connectionRemoved(com.mongodb.event.ConnectionRemovedEvent event)
      Specified by:
      connectionRemoved in interface com.mongodb.event.ConnectionPoolListener