reactor.util.retry.Retry.RetrySignal that can be used for retained
copies of mutable implementations.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Throwable | |
| pack-priv final long | |
| pack-priv final long | |
| pack-priv final ContextView |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | ImmutableRetrySignal(long failureTotalIndex, long failureSubsequentIndex, Throwable failure, ContextView retryContext)
|
| Modifier and Type | Method and Description |
|---|---|
| public Retry. | copy()
Overrides default reactor. RetrySignal which is guaranteed to give a consistent view
of the state at the time at which this method is invoked.
|
| public Throwable | failure()
Implements reactor. Throwable that caused the current onError signal.
|
| public ContextView | retryContextView()
Overrides default reactor. |
| public String | |
| public long | totalRetries()
Implements reactor. |
| public long | totalRetriesInARow()
Implements reactor. onNext (in other
words the number of errors -1 since the latest onNext).
|
| failure | back to summary |
|---|---|
| pack-priv final Throwable failure | |
| failureSubsequentIndex | back to summary |
|---|---|
| pack-priv final long failureSubsequentIndex | |
| failureTotalIndex | back to summary |
|---|---|
| pack-priv final long failureTotalIndex | |
| retryContext | back to summary |
|---|---|
| pack-priv final ContextView retryContext | |
| ImmutableRetrySignal | back to summary |
|---|---|
| pack-priv ImmutableRetrySignal(long failureTotalIndex, long failureSubsequentIndex, Throwable failure) | |
| ImmutableRetrySignal | back to summary |
|---|---|
| pack-priv ImmutableRetrySignal(long failureTotalIndex, long failureSubsequentIndex, Throwable failure, ContextView retryContext) | |
| copy | back to summary |
|---|---|
| public Retry. Overrides default reactor. Doc from reactor. An immutable copy of this
| |
| failure | back to summary |
|---|---|
| public Throwable failure() Implements reactor. | |
| retryContextView | back to summary |
|---|---|
| public ContextView retryContextView() Overrides default reactor. Doc from reactor. Return a read-only view of the user provided context, which may be used to store objects to be reset/rolled-back or otherwise mutated before or after a retry.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| totalRetries | back to summary |
|---|---|
| public long totalRetries() Implements reactor. Doc from reactor. The total number of retries since the source first was subscribed to (in other words the number of errors -1 since the source was first subscribed to).
| |
| totalRetriesInARow | back to summary |
|---|---|
| public long totalRetriesInARow() Implements reactor. Doc from reactor. Retry counter resetting after each
| |