mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
20 lines
371 B
Java
20 lines
371 B
Java
package io.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();
|
|
}
|