package io.ebeaninternal.server.query;

Defines a cancelable query.

Typically holds a representation of the PreparedStatement to perform the actual cancel.

/** * Defines a cancelable query. * <p> * Typically holds a representation of the PreparedStatement to perform the * actual cancel. * </p> */
public interface CancelableQuery {
Cancel the query.

For JDBC this translates to calling cancel on the PreparedStatement.

/** * Cancel the query. * <p> * For JDBC this translates to calling cancel on the PreparedStatement. * </p> */
void cancel(); }