org.mariadb.jdbc.pool.PoolMBean Maven / Gradle / Ivy
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2021 MariaDB Corporation Ab
package org.mariadb.jdbc.pool;
/** JMX pool bean */
public interface PoolMBean {
/**
* get pool active connection number
*
* @return pool active connection number
*/
long getActiveConnections();
/**
* get pool total connection
*
* @return pool total connection number
*/
long getTotalConnections();
/**
* get idle connection number
*
* @return idle connection number
*/
long getIdleConnections();
/**
* get connection waiting request number
*
* @return request number
*/
long getConnectionRequests();
}