org.firebirdsql.pool.PingablePooledConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaybird Show documentation
Show all versions of jaybird Show documentation
JDBC Driver for the Firebird RDBMS
package org.firebirdsql.pool;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.HashSet;
import javax.sql.StatementEventListener;
public class PingablePooledConnection extends AbstractPingablePooledConnection {
private HashSet statementEventListeners = new HashSet();
public PingablePooledConnection(Connection connection,
boolean statementPooling, int maxStatements, boolean keepStatements)
throws SQLException {
super(connection, statementPooling, maxStatements, keepStatements);
// TODO Auto-generated constructor stub
}
public PingablePooledConnection(Connection connection,
String pingStatement, int pingInterval, boolean statementPooling,
int maxStatements, boolean keepStatements) throws SQLException {
super(connection, pingStatement, pingInterval, statementPooling, maxStatements,
keepStatements);
// TODO Auto-generated constructor stub
}
public void addStatementEventListener(StatementEventListener listener) {
statementEventListeners.add(listener);
}
public void removeStatementEventListener(StatementEventListener listener) {
statementEventListeners.remove(listener);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy