@PublicEvolving public enum DeliveryGuarantee extends Enum<DeliveryGuarantee> implements DescribedEnum
Enum Constant and Description |
---|
AT_LEAST_ONCE
Records are ensured to be delivered but it may happen that the same record is delivered
multiple times.
|
EXACTLY_ONCE
Records are only delivered exactly-once also under failover scenarios.
|
NONE
Records are delivered on a best effort basis.
|
Modifier and Type | Method and Description |
---|---|
InlineElement |
getDescription()
Returns the description for the enum constant.
|
String |
toString() |
static DeliveryGuarantee |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryGuarantee[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryGuarantee EXACTLY_ONCE
public static final DeliveryGuarantee AT_LEAST_ONCE
public static final DeliveryGuarantee NONE
public static DeliveryGuarantee[] values()
for (DeliveryGuarantee c : DeliveryGuarantee.values()) System.out.println(c);
public static DeliveryGuarantee 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 InlineElement getDescription()
DescribedEnum
If you want to include links or code blocks, use TextElement.wrap(InlineElement...)
to wrap multiple inline elements into a single one.
getDescription
in interface DescribedEnum
public String toString()
toString
in class Enum<DeliveryGuarantee>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.