Skip to content

Commit eed3ed6

Browse files
committed
Update API doc in 3.0 changelog
1 parent 1434769 commit eed3ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ This release introduces some breaking changes to the API:
113113
- The standalone `Execution` API, and the `AsyncExecution` API created via the `FailsafeExecutor.runAsyncExecution` and `getAsyncExecution` methods, have been unified to include:
114114
- `record(R, Throwable)`
115115
- `recordResult(R)`
116-
- `recordFailure(Throwable)`
116+
- `recordException(Throwable)`
117117
- `complete()`
118118
- The previously supported `Execution` and `AsyncExecution` methods for recording a result have been removed. The methods for performing a retry have also been removed. For `Execution`, `isComplete` will indicate whether the execution is complete else if retries can be performed. For `AsyncExecution` retries will automatically be performed, if possible, immediately after a result or failure is recorded.
119119
- The `Execution` constructor is no longer visible. `Execution` instances must now be constructed via `Execution.of(policies)`.

0 commit comments

Comments
 (0)