future = addCancellationListener(indicator, thread);returntask.compute(); }finally{if(future !=null) future.cancel(true); Thread.interrupted(); } } 开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:15,代码来源:GithubUtil.java 示例9: compute ▲点赞 2▼ importcom.intellij.openapi.uti...