Files
ebean/src/main/java/com/avaje/ebeaninternal/server/query/CancelableQuery.java
T

20 lines
378 B
Java

package com.avaje.ebeaninternal.server.query;
/**
* Defines a cancelable query.
* <p>
* Typically holds a representation of the PreparedStatement to perform the
* actual cancel.
* </p>
*/
public interface CancelableQuery {
/**
* Cancel the query.
* <p>
* For JDBC this translates to calling cancel on the PreparedStatement.
* </p>
*/
void cancel();
}