future task cancel

摘要: 1 FutureTask.cancel 干了啥 //有一个入参,需要说明task是否是可中断的 public boolean cancel(boolean mayInterruptIfRunning) { if (state != NEW) return false; if (mayInterrup 阅读全文
posted @ 2023-09-04 20:33 silyvin 阅读(44) 评论(0) 推荐(0)