| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final RetryCondition | |
| private final GenericWaiter |
| Access | Constructor and Description |
|---|---|
| public | BmcGenericRetrier(final RetryConfiguration
The retry configuration to use. retryConfiguration)Creates a new retrier with the given configuration. |
| Modifier and Type | Method and Description |
|---|---|
| protected < Request object class REQUEST, Response object class RESPONSE> RESPONSE | Returns: The successful responserequest data for the function call request, Function<REQUEST, RESPONSE> Function that will be invoked to send out the request. functionCall)Executes the actual function call. |
| protected <REQUEST, RESPONSE> CompletionStage | |
| public < Request object class REQUEST, Response object class RESPONSE> RESPONSE | Returns: The successful responseThe request that is passed to the functionCall requestToUse, final Function<REQUEST, RESPONSE> Function that will be invoked to send out the request. functionCall)Executes the functionCall based upon the |
| public final <REQUEST, RESPONSE> CompletionStage | executeAsync(WaiterScheduler runner, final REQUEST requestToUse, final Function<REQUEST, CompletionStage<RESPONSE>> functionCall)
|
| public RetryCondition | |
| public GenericWaiter | |
| private static Throwable |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| retryCondition | back to summary |
|---|---|
| private final RetryCondition retryCondition | |
| waiter | back to summary |
|---|---|
| private final GenericWaiter waiter | |
| BmcGenericRetrier | back to summary |
|---|---|
| public BmcGenericRetrier(final RetryConfiguration retryConfiguration) Creates a new retrier with the given configuration.
| |
| doFunctionCall | back to summary |
|---|---|
| protected <REQUEST, RESPONSE> RESPONSE doFunctionCall(REQUEST request, Function<REQUEST, RESPONSE> functionCall) Executes the actual function call. Can be overridden, e.g. for debugging.
| |
| doFunctionCallAsync | back to summary |
|---|---|
| protected <REQUEST, RESPONSE> CompletionStage | |
| execute | back to summary |
|---|---|
| public <REQUEST, RESPONSE> RESPONSE execute(final REQUEST requestToUse, final Function<REQUEST, RESPONSE> functionCall) Executes the functionCall based upon the
| |
| executeAsync | back to summary |
|---|---|
| public final <REQUEST, RESPONSE> CompletionStage | |
| getRetryCondition | back to summary |
|---|---|
| public RetryCondition getRetryCondition() | |
| getWaiter | back to summary |
|---|---|
| public GenericWaiter getWaiter() | |
| unwrap | back to summary |
|---|---|
| private static Throwable unwrap(Throwable t) | |