⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poolmonitor.java

📁 Contents * Introduction * Installation * SmartPool 1.5 * Features from earlier releases
💻 JAVA
字号:
/* * @(#) ConnectionMonitor 1.0 02/08/01 */package org.smartlib.pool.core;/** * This interface defines the behavior of the class used to monitor  * a Pool. This interface defines the methods which can * be used to monitor the runtime status of the pools.  * @author	Sachin Shekar Shetty   * @version 1.0, 02/08/01 * */import java.util.*;public interface PoolMonitor {	/**	 * @return Current size of the pool.	 */	public int getCurrentPoolSize();	/**	 * @return Number of free connections in the pool	 */	public int getNoOfFreeConnections();	/**	 * @return Vector containing the connections that are currently in use.	 */	public Vector getConnectionsInUse();	/**	 * @return Instance of ConfigMonitor to examine the 	 * configuration of the pool.	 */	public ConfigMonitor getConfigMonitor();    /**     * This method returns the name of the pool     */    public String getName();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -