public interface RetryContext
Modifier and Type | Method and Description |
---|---|
Long |
getAttempt()
Counts the failed attempts so far for one original service method call.
|
Throwable |
getFirstError()
The first error that occurred for one service method execution.
|
Object |
getFirstParameter()
Gets the parameter or parameter object for the original service method execution.
|
Throwable |
getLatestError()
The latest error that occurred for one service method execution.
|
Object |
getLatestParameter()
Gets the parameter or parameter object for the latest service method execution.
|
Instant |
getStartTimestamp()
The timestamp when the first error occurred.
|
Instant getStartTimestamp()
Throwable getFirstError()
Throwable getLatestError()
getFirstError()
.@Nullable Object getFirstParameter()
@Nullable Object getLatestParameter()
getFirstParameter()
for the first attempt.Long getAttempt()