Example usage for com.mongodb.event ConnectionPoolListener interface-usage

List of usage examples for com.mongodb.event ConnectionPoolListener interface-usage

Introduction

In this page you can find the example usage for com.mongodb.event ConnectionPoolListener interface-usage.

Usage

From source file org.eclipse.ditto.services.utils.persistence.mongo.monitoring.KamonConnectionPoolListener.java

/**
 * Reports MongoDB connection pool statistics to Kamon.
 */
public class KamonConnectionPoolListener implements ConnectionPoolListener {

    private static final Logger LOGGER = LoggerFactory.getLogger(KamonCommandListener.class);