Package discord4j.voice.retry
Class VoiceGatewayRetrySpec
java.lang.Object
reactor.util.retry.Retry
discord4j.voice.retry.VoiceGatewayRetrySpec
-
Nested Class Summary
Nested classes/interfaces inherited from class reactor.util.retry.Retry
Retry.RetrySignal
-
Field Summary
FieldsFields inherited from class reactor.util.retry.Retry
retryContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceGatewayRetrySpec
create
(ReconnectOptions reconnectOptions, ReconnectContext reconnectContext) doBeforeRetry
(Consumer<VoiceGatewayRetrySignal> doBeforeRetry) Methods inherited from class reactor.util.retry.Retry
backoff, fixedDelay, from, indefinitely, max, maxInARow, retryContext, withThrowable
-
Field Details
-
NON_RETRYABLE_STATUS_CODES
-
-
Method Details
-
create
public static VoiceGatewayRetrySpec create(ReconnectOptions reconnectOptions, ReconnectContext reconnectContext) -
doBeforeRetry
-
generateCompanion
- Specified by:
generateCompanion
in classRetry
-