本文整理了Java中com.avaje.ebean.Query.cancel
方法的一些代码示例,展示了Query.cancel
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.cancel
方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称:Query
方法名:cancel
[英]Cancel the query execution if supported by the underlying database and driver.
This must be called from a different thread to the query executor.
[中]如果基础数据库和驱动程序支持,请取消查询执行。
这必须从不同的线程调用到查询执行器。
代码示例来源:origin: org.actframework/act-ebean-java7
@Override
public void cancel() {
q.cancel();
qReadOnly.cancel();
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Cancels query execution, if supported by the underlying database and driver.
*/
public void cancel() {
query().cancel();
}
代码示例来源:origin: org.avaje/ebean
public boolean cancel(boolean mayInterruptIfRunning) {
query.cancel();
return super.cancel(mayInterruptIfRunning);
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server
public boolean cancel(boolean mayInterruptIfRunning) {
query.cancel();
return super.cancel(mayInterruptIfRunning);
}
代码示例来源:origin: org.avaje/ebean
public boolean cancel(boolean mayInterruptIfRunning) {
query.cancel();
return super.cancel(mayInterruptIfRunning);
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server
public boolean cancel(boolean mayInterruptIfRunning) {
query.cancel();
return super.cancel(mayInterruptIfRunning);
}
内容来源于网络,如有侵权,请联系作者删除!