1 6 package org.logicalcobwebs.proxool; 7 8 import java.sql.Connection ; 9 import java.sql.SQLException ; 10 import java.sql.Statement ; 11 12 22 public interface ProxyConnectionIF extends ConnectionInfoIF { 23 24 34 boolean setStatus(int oldStatus, int newStatus); 35 36 43 boolean setStatus(int newStatus); 44 45 51 void markForExpiry(String reason); 52 53 58 boolean isMarkedForExpiry(); 59 60 65 String getReasonForMark(); 66 67 71 Connection getConnection(); 72 73 76 boolean isNull(); 77 78 81 boolean isAvailable(); 82 83 86 boolean isActive(); 87 88 91 boolean isOffline(); 92 93 97 void reallyClose() throws SQLException ; 98 99 102 void setRequester(String requester); 103 104 109 void close() throws SQLException ; 110 111 116 void registerClosedStatement(Statement statement); 117 118 124 boolean isReallyClosed() throws SQLException ; 125 126 ConnectionPoolDefinitionIF getDefinition(); 127 128 132 String getLastSqlCall(); 133 134 } 135 136 137 | Popular Tags |