public static enum TxRetryPolicy.Policy extends Enum<TxRetryPolicy.Policy>
| Enum Constant and Description |
|---|
DROP
Drop operation after failure.
|
RETRY
Retry operation after failure.
|
| Modifier and Type | Method and Description |
|---|---|
static TxRetryPolicy.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxRetryPolicy.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxRetryPolicy.Policy RETRY
public static final TxRetryPolicy.Policy DROP
public static TxRetryPolicy.Policy[] values()
for (TxRetryPolicy.Policy c : TxRetryPolicy.Policy.values()) System.out.println(c);
public static TxRetryPolicy.Policy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.