Class SendResult
-
- All Implemented Interfaces:
public final class SendResulttype indicates whether we successfully send or have a retryable error. If we encounter SendResultType.SEND_DISABLED it means that we have a non-retryable state. delay is the duration to wait before executing the next send operation. In case of retries the delay may be short.
-
-
Field Summary
Fields Modifier and Type Field Description private final SendResultTypetypeprivate final Durationdelay
-
Constructor Summary
Constructors Constructor Description SendResult(SendResultType type, Duration delay)
-
Method Summary
Modifier and Type Method Description final SendResultTypegetType()final DurationgetDelay()-
-
Constructor Detail
-
SendResult
SendResult(SendResultType type, Duration delay)
-
-
Method Detail
-
getType
final SendResultType getType()
-
-
-
-