@InterfaceStability.Evolving public static class RetryPolicy.RetryAction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RetryPolicy.RetryAction.RetryDecision |
Modifier and Type | Field and Description |
---|---|
RetryPolicy.RetryAction.RetryDecision |
action |
long |
delayMillis |
static RetryPolicy.RetryAction |
FAIL |
static RetryPolicy.RetryAction |
FAILOVER_AND_RETRY |
String |
reason |
static RetryPolicy.RetryAction |
RETRY |
Constructor and Description |
---|
RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action) |
RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action,
long delayTime) |
RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action,
long delayTime,
String reason) |
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 String reason
public RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action)
public RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime)
public RetryPolicy.RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime, String reason)
Copyright © 2013 Apache Software Foundation. All rights reserved.