List of usage examples for com.mongodb.event ConnectionPoolWaitQueueExitedEvent getServerId
public ServerId getServerId()
From source file:org.eclipse.ditto.services.utils.persistence.mongo.monitoring.KamonConnectionPoolListener.java
License:Open Source License
@Override public void waitQueueExited(final ConnectionPoolWaitQueueExitedEvent event) { metrics.compute(event.getServerId(), (serverId, metric) -> metric.decWaitQueueSize()); }