@Evolving
public static class RetryPolicy.RetryAction
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
RetryPolicy.RetryAction.RetryDecision |
| Modifier and Type | Field | Description |
|---|---|---|
RetryPolicy.RetryAction.RetryDecision |
action |
|
long |
delayMillis |
|
static RetryPolicy.RetryAction |
FAIL |
|
static RetryPolicy.RetryAction |
FAILOVER_AND_RETRY |
|
java.lang.String |
reason |
|
static RetryPolicy.RetryAction |
RETRY |
| Constructor | Description |
|---|---|
RetryAction(RetryPolicy.RetryAction.RetryDecision action) |
|
RetryAction(RetryPolicy.RetryAction.RetryDecision action,
long delayTime) |
|
RetryAction(RetryPolicy.RetryAction.RetryDecision action,
long delayTime,
java.lang.String reason) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
public static final RetryPolicy.RetryAction FAIL
public static final RetryPolicy.RetryAction RETRY
public static final RetryPolicy.RetryAction FAILOVER_AND_RETRY
public final RetryPolicy.RetryAction.RetryDecision action
public final long delayMillis
public final java.lang.String reason
public RetryAction(RetryPolicy.RetryAction.RetryDecision action)
public RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime)
public RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime, java.lang.String reason)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.