本文整理了Java中javax.annotation.PreDestroy
类的一些代码示例,展示了PreDestroy
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。PreDestroy
类的具体详情如下:
包路径:javax.annotation.PreDestroy
类名称:PreDestroy
暂无
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
coreExecutor.shutdownNow();
}
代码示例来源:origin: weibocom/motan
@PreDestroy
void destory() {
zkClient = null;
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public synchronized void stop()
{
closed = true;
executor.shutdownNow();
splitMonitorExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void destroy()
{
refreshExecutor.shutdownNow();
}
代码示例来源:origin: alibaba/nacos
@PreDestroy
public void destroy() {
scheduledExecutorService.shutdown();
}
代码示例来源:origin: weibocom/motan
@PreDestroy
void destory() {
consulClient = null;
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void stop()
{
coreExecutor.shutdownNow();
updateScheduledExecutor.shutdownNow();
errorScheduledExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void stop()
{
queryPurger.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
coreExecutor.shutdownNow();
}
代码示例来源:origin: ethereum/ethereumj
@PreDestroy
public void close() {
// try {
// logger.info("Closing TransactionStore...");
// super.close();
// } catch (Exception e) {
// logger.warn("Problems closing TransactionStore", e);
// }
}
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void stop()
{
queryTracker.stop();
queryManagementExecutor.shutdownNow();
queryExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void close()
{
taskManagementExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void stop()
{
pageBufferClientCallbackExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
executors.forEach(ExecutorService::shutdownNow);
}
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void stop()
{
nodeStateUpdateExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
executor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
executors.forEach(ExecutorService::shutdownNow);
}
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void destroy()
{
configExecutor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
executor.shutdownNow();
}
代码示例来源:origin: prestodb/presto
@PreDestroy
public void shutdown()
{
executor.shutdownNow();
}
内容来源于网络,如有侵权,请联系作者删除!