use of io.nuls.core.utils.queue.thread.StatusLogThread in project nuls by nuls-io.
the class QueueManager method start.
public static void start() {
ScheduledExecutorService service = TaskManager.createScheduledThreadPool(new NulsThreadFactory(NulsConstant.MODULE_ID_MICROKERNEL, "queueStatusLogPool"));
service.scheduleAtFixedRate(new StatusLogThread(), 0, QueueManager.getLatelySecond(), TimeUnit.SECONDS);
Running = true;
}
Aggregations