1 22 23 24 package com.mchange.v2.c3p0.stmt; 25 26 import java.lang.reflect.*; 27 import java.sql.*; 28 import com.mchange.v1.util.ClosableResource; 29 30 public interface StatementCache extends ClosableResource 31 { 32 public Object checkoutStatement( Connection physicalConnection, 33 Method stmtProducingMethod, 34 Object [] args ) 35 throws SQLException; 36 37 public void checkinStatement( Object pstmt ) 38 throws SQLException; 39 40 public void checkinAll( Connection pcon ) 41 throws SQLException; 42 43 public void closeAll( Connection pcon ) 44 throws SQLException; 45 46 public void close() 47 throws SQLException; 48 } 49 50 | Popular Tags |