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