... | | | |_____ GameServiceImpl//接口实现类 | | | |______ TimerTask//定时任务对象 | | | |_____ ImageUtil//图片工具类 ...
基于22个网页-相关网页
The TimerTask class has a cancel method that you can use to cancel subsequent invocations of the task.
timertask类有一个cancel方法,可以用它取消对任务的后续调用。
As the preceding section mentioned, there's an issue with the use of Timer in JCA: the thread on which the TimerTask is executed is not under the application server's control.
正如前一小节提到过的,在JCA中,使用Timer有一个问题:执行TimerTask的线程不在应用服务器的控制之下。
应用推荐