Package com.tccc.kos.commons.util.concurrent
package com.tccc.kos.commons.util.concurrent
Contains utility classes and interfaces related to timers,
callbacks, and futures.
- Since:
- 1.0
- Version:
- 2022-10-21
-
ClassDescriptionClass that supports single (one-shot) or recurring callbacks, allows the delay to be adjusted while the timer is running, and has variance support to add a degree of randomness to the timer.Class used to schedule callbacks based on a backoff algorithm.Base class for various callback classes.Class used to schedule a callback after a specified delay, but can be used in three different ways: Using
start()
, the timer acts like a typical timer that runs for the specified delay.System component that provides access to standard thread pools used throughout the kOS system.Class that triggers a callback after the configured delay.