@PublicEvolving public enum DeliveryGuarantee extends Enum<DeliveryGuarantee> implements org.apache.flink.configuration.DescribedEnum
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.configuration.description.InlineElement |
getDescription() |
String |
toString() |
static DeliveryGuarantee |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DeliveryGuarantee[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public org.apache.flink.configuration.description.InlineElement getDescription()
getDescription 在接口中 org.apache.flink.configuration.DescribedEnumpublic String toString()
toString 在类中 Enum<DeliveryGuarantee>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.