guava创建线程池
private static ListeningExecutorService executorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool());
public static void main( String [] args) throws InterruptedException {
executorService.submit(()->{
try {
Thread.sleep(300);
System.out.println("abc");
}
catch (Exception ex){
}
});
System.out.println("end");
}