接口的使用
cn.wjybxx.concurrent.IScheduledFutureTask
使用IScheduledFutureTask的程序包
-
cn.wjybxx.concurrent中IScheduledFutureTask的使用
参数类型为IScheduledFutureTask的cn.wjybxx.concurrent中的方法修饰符和类型方法说明voidIScheduledPromise.setTask(IScheduledFutureTask<? extends V> task) 注入关联的任务. 1.Promise需要了解任务的状态以支持用户的查询; 2.由于存在双向依赖,因此需要延迟注入;voidScheduledPromise.setTask(IScheduledFutureTask<? extends T> task) -
cn.wjybxx.sequential中IScheduledFutureTask的使用
参数类型为IScheduledFutureTask的cn.wjybxx.sequential中的方法