public enum DeliveryGuarantee extends Enum<DeliveryGuarantee>
Enum Constant and Description |
---|
AT_LEAST_ONCE
The in between guarantee that provides a view of all data, but may return duplicates during a toplogy change.
|
AT_MOST_ONCE
The least strict guarantee that ensures that data is never read more than once, but may be missed.
|
EXACTLY_ONCE
The most strict guarantee that guarantees that an entry is seen exactly one time in results.
|
Modifier and Type | Method and Description |
---|---|
static DeliveryGuarantee |
valueOf(int index) |
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 AT_MOST_ONCE
EXACTLY_ONCE
.public static final DeliveryGuarantee AT_LEAST_ONCE
EXACTLY_ONCE
.public static final DeliveryGuarantee EXACTLY_ONCE
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 static DeliveryGuarantee valueOf(int index)
Copyright © 2021 JBoss by Red Hat. All rights reserved.