Package discord4j.voice.retry
Class VoiceGatewayRetrySpec
- java.lang.Object
-
- reactor.util.retry.Retry
-
- discord4j.voice.retry.VoiceGatewayRetrySpec
-
public class VoiceGatewayRetrySpec extends Retry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class reactor.util.retry.Retry
Retry.RetrySignal
-
-
Field Summary
Fields Modifier and Type Field Description static List<Integer>
NON_RETRYABLE_STATUS_CODES
-
Fields inherited from class reactor.util.retry.Retry
retryContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VoiceGatewayRetrySpec
create(ReconnectOptions reconnectOptions, ReconnectContext reconnectContext)
VoiceGatewayRetrySpec
doBeforeRetry(Consumer<VoiceGatewayRetrySignal> doBeforeRetry)
Flux<Long>
generateCompanion(Flux<Retry.RetrySignal> t)
-
Methods inherited from class reactor.util.retry.Retry
backoff, fixedDelay, from, indefinitely, max, maxInARow, retryContext, withThrowable
-
-
-
-
Method Detail
-
create
public static VoiceGatewayRetrySpec create(ReconnectOptions reconnectOptions, ReconnectContext reconnectContext)
-
doBeforeRetry
public VoiceGatewayRetrySpec doBeforeRetry(Consumer<VoiceGatewayRetrySignal> doBeforeRetry)
-
generateCompanion
public Flux<Long> generateCompanion(Flux<Retry.RetrySignal> t)
- Specified by:
generateCompanion
in classRetry
-
-