public class MonetDbStatementCancler extends StatementCancellationHookAdapter
Constructor and Description |
---|
MonetDbStatementCancler(DbPoolService poolService) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelStatement(java.sql.Statement statement,
java.sql.Connection connection,
java.lang.String statementId) |
boolean |
consumes(java.sql.Statement statement,
java.sql.Connection connection) |
cancelStatement, overridesDefaultMechanism
public MonetDbStatementCancler(DbPoolService poolService)
public boolean consumes(java.sql.Statement statement, java.sql.Connection connection)
consumes
in interface StatementCancellationHook
consumes
in class StatementCancellationHookAdapter
public boolean cancelStatement(java.sql.Statement statement, java.sql.Connection connection, java.lang.String statementId)
cancelStatement
in interface StatementCancellationHook
cancelStatement
in class StatementCancellationHookAdapter