Uses of Class
com.tccc.kos.commons.util.BackoffConfig
Packages that use BackoffConfig
Package
Description
Contains utility classes and interfaces related to timers,
callbacks, and futures.
-
Uses of BackoffConfig in com.tccc.kos.commons.util
Methods in com.tccc.kos.commons.util that return BackoffConfigModifier and TypeMethodDescriptionBackoff.getConfig()
BackoffConfig.setBaseDelayMs
(int baseDelayMs) Set the base delay for the backoff delay.BackoffConfig.setMaxCount
(int maxCount) Set the max count that will be used in the backoff algorithm.BackoffConfig.setMaxDelayMs
(int maxDelayMs) Set the max delay the backoff can generate.Set the type of backoff algorithm to use.BackoffConfig.setUnitDelayMs
(int unitDelayMs) Set the unit delay for the backoff delay.Methods in com.tccc.kos.commons.util with parameters of type BackoffConfigModifier and TypeMethodDescriptionstatic long
Backoff.getDelay
(BackoffConfig config, int count) Return the delay for the specified config and count.void
Backoff.setConfig
(BackoffConfig config) Set theBackoffConfig
to use.Constructors in com.tccc.kos.commons.util with parameters of type BackoffConfigModifierConstructorDescriptionBackoff
(BackoffConfig config) Create a backoff using the specified config. -
Uses of BackoffConfig in com.tccc.kos.commons.util.concurrent
Methods in com.tccc.kos.commons.util.concurrent that return BackoffConfigModifier and TypeMethodDescriptionBackoffCallback.getConfig()
Return theBackoffConfig
associated with this callback.Methods in com.tccc.kos.commons.util.concurrent with parameters of type BackoffConfigModifier and TypeMethodDescriptionvoid
BackoffCallback.setConfig
(BackoffConfig config) Set theBackoffConfig
associated with this callback.Constructors in com.tccc.kos.commons.util.concurrent with parameters of type BackoffConfigModifierConstructorDescriptionBackoffCallback
(BackoffConfig config, Runnable callback) Creates a callback that utilizes aBackoff
with the supplied configuration.