public enum DeliverySemantics extends Enum<DeliverySemantics>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE
Each data record from the source is guaranteed to be delivered at least once.
|
EXACTLY_ONCE
Each data record from the source is guaranteed to be delievered exactly once.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliverySemantics |
parse(State state)
Get the devliery semantics type from
ConfigurationKeys#DELIVERY_SEMANTICS. |
static DeliverySemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliverySemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliverySemantics AT_LEAST_ONCE
public static final DeliverySemantics EXACTLY_ONCE
public static DeliverySemantics[] values()
for (DeliverySemantics c : DeliverySemantics.values()) System.out.println(c);
public static DeliverySemantics 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 nullpublic static DeliverySemantics parse(State state)
ConfigurationKeys#DELIVERY_SEMANTICS.
The default value is Type#AT_LEAST_ONCE.