Package com.iohao.net.common.kit.concurrent
package com.iohao.net.common.kit.concurrent
Utility tools - Thread executor, task listener callback, single task, delayed task, task scheduling, lightweight and controllable delayed tasks, lightweight timed storage assistance functions.
- Author:
- 渔民小镇
- date:
- 2024-06-01
-
ClassDescriptionA
ThreadFactorythat creates daemon threads with auto-incrementing names.Thread executor factory utilities.AThreadFactorythat creates daemon threads with a fixed (non-incrementing) name.Scheduled task listener, using HashedWheelTimer to simulate ScheduledExecutorService scheduling.Timer listener callback, executed only 1 time.Internal utility class for task consumption; developers should NOT use it for time-consuming I/O tasks.Task listener callback, used in scenarios such as: one-time delayed tasks, scheduled tasks, lightweight controllable delayed tasks, lightweight periodic persistence helper functions, and other extended scenarios.Base class for creating threads with configurable name prefix, priority, daemon flag, and thread group.