Java future 和Guava ListenableFuture实现异步调用
1.FutureTaskpackage com.fit.testweb;import java.util.Random;import java.util.concurrent.Callable;import java.util.concurrent.ExecutionException;import java.util.concurrent.ExecutorService;impor...
原创
2018-06-05 12:24:13 ·
440 阅读 ·
0 评论