Java Code Examples for com.ruoyi.common.utils.Threads#shutdownAndAwaitTermination()
The following examples show how to use
com.ruoyi.common.utils.Threads#shutdownAndAwaitTermination() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SpringSessionValidationScheduler.java From supplierShop with MIT License | 5 votes |
@Override public void disableSessionValidation() { if (log.isDebugEnabled()) { log.debug("Stopping Spring Scheduler session validation job..."); } if (this.enabled) { Threads.shutdownAndAwaitTermination(executorService); } this.enabled = false; }
Example 2
Source File: SpringSessionValidationScheduler.java From ruoyiplus with MIT License | 5 votes |
@Override public void disableSessionValidation() { if (log.isDebugEnabled()) { log.debug("Stopping Spring Scheduler session validation job..."); } if (this.enabled) { Threads.shutdownAndAwaitTermination(executorService); } this.enabled = false; }
Example 3
Source File: AsyncManager.java From supplierShop with MIT License | 4 votes |
/** * 停止任务线程池 */ public void shutdown() { Threads.shutdownAndAwaitTermination(executor); }
Example 4
Source File: AsyncManager.java From RuoYi-Vue with MIT License | 4 votes |
/** * 停止任务线程池 */ public void shutdown() { Threads.shutdownAndAwaitTermination(executor); }
Example 5
Source File: AsyncManager.java From ruoyiplus with MIT License | 4 votes |
/** * 停止任务线程池 */ public void shutdown() { Threads.shutdownAndAwaitTermination(executor); }