类的使用
cn.wjybxx.base.time.Regulator
使用Regulator的程序包
-
cn.wjybxx.base.time中Regulator的使用
返回Regulator的cn.wjybxx.base.time中的方法修饰符和类型方法说明static RegulatorRegulator.newFixedDelay(long firstDelay, long period) static RegulatorRegulator.newFixedRate(long firstDelay, long period) static RegulatorRegulator.newOnce(long firstDelay) Regulator.restart(long curTime) 重新启动调节器 (没有单独的start方法,因为逻辑无区别)Regulator.setContext(Object context)