@Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface Retry
Throwable.| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends Throwable>[] |
on
Declare the throwable types the retry will be executed for.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
times
The number of retry attempts
|
Copyright © 2024. All rights reserved.