Modifier and Type | Method and Description |
---|---|
default Duration |
computeDelay(ExecutionContext<R> context)
Returns a computed delay for the
result and context else null if no delay function is
configured or the computed delay is invalid. |
DelayablePolicyConfig<R> |
getConfig()
Returns the policy config.
|
toExecutor
DelayablePolicyConfig<R> getConfig()
Policy
default Duration computeDelay(ExecutionContext<R> context)
result
and context
else null
if no delay function is
configured or the computed delay is invalid.Copyright © 2022. All rights reserved.