1 4 5 6 package org.smartlib.pool.core; 7 8 import java.sql.*; 9 10 17 18 public interface PoolManager { 19 20 36 public Connection getConnection() 37 throws ConnectionPoolException; 38 39 40 56 public Connection getConnection(String poolName) 57 throws ConnectionPoolException; 58 59 60 77 78 public Connection getConnection(String poolName, String owner) 79 throws ConnectionPoolException; 80 81 91 public void addConnectionLeakListener(String poolName, 92 ConnectionLeakListener cle) throws ConnectionPoolException; 93 94 95 104 public void removeConnectionLeakListener(String poolName, 105 ConnectionLeakListener cle) throws ConnectionPoolException; 106 107 108 117 public MultiPoolMonitor getMultiPoolMonitor(String poolName) 118 throws ConnectionPoolException; 119 120 123 public void shutDown(); 124 125 126 } 127 | Popular Tags |