核心是组建是DelayQueue,对其做了一些封装。参考链接:http://tool.oschina.net/uploads/apidocs/jdk-zh/java/util/concurrent/DelayQueue.html
有2种延迟方式:
https://github.com/fangqiang/JavaProject