All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.persistence.jdbc.connectionfactory.ConnectionPool Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.persistence.jdbc.connectionfactory;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * A simple interface that must be implemented by ConnectionPool wrapper classes.
 *
 * @author Ryan Emerson
 */
public interface ConnectionPool {
   void close();
   Connection getConnection() throws SQLException;
   int getMaxPoolSize();
   int getNumConnectionsAllUsers() throws SQLException;
   int getNumBusyConnectionsAllUsers() throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy