public interface DelayBuilderStep<BUILDER extends BuilderStep> extends BuilderStep
| Modifier and Type | Method and Description |
|---|---|
BUILDER |
withDelay(Delay delay)
Configure a
Delay for the response action. |
default BUILDER |
withFixedDelay(Duration duration)
|
default BUILDER |
withFixedDelay(long milliseconds)
Configures a fixed
Delay in milliseconds for the response action. |
default BUILDER |
withRandomDelay(Duration maxDuration)
|
default BUILDER |
withRandomDelay(Duration minDuration,
Duration maxDuration)
|
default BUILDER |
withRandomDelay(long maxMilliseconds)
Configures a random
Delay between 0 and given maxMilliseconds for the response action. |
default BUILDER |
withRandomDelay(long minMilliseconds,
long maxMilliseconds)
Configures a random
Delay between given minMilliseconds and maxMilliseconds bounds in milliseconds for the response
action. |
BUILDER withDelay(@Nonnull Delay delay)
Configure a Delay for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withFixedDelay(long milliseconds)
Delay in milliseconds for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withFixedDelay(Duration duration)
Delay with provided Duration for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withRandomDelay(long minMilliseconds, long maxMilliseconds)
Delay between given minMilliseconds and maxMilliseconds bounds in milliseconds for the response
action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withRandomDelay(Duration minDuration, Duration maxDuration)
Delay between given min Duration and max Duration bounds in milliseconds for the
response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withRandomDelay(long maxMilliseconds)
Delay between 0 and given maxMilliseconds for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
default BUILDER withRandomDelay(Duration maxDuration)
Delay between 0 and given max Duration for the response action.
Delay for ResponseAction is additive, meaning that it will trigger after previous
ResponseAction has finished.
Copyright © 2023. All rights reserved.