Enum FunctionConfig.ProcessingGuarantees
- java.lang.Object
-
- java.lang.Enum<FunctionConfig.ProcessingGuarantees>
-
- org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FunctionConfig.ProcessingGuarantees>
- Enclosing class:
- FunctionConfig
public static enum FunctionConfig.ProcessingGuarantees extends java.lang.Enum<FunctionConfig.ProcessingGuarantees>
Definition of possible processing guarantees.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATLEAST_ONCEATMOST_ONCEEFFECTIVELY_ONCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionConfig.ProcessingGuaranteesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FunctionConfig.ProcessingGuarantees[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATLEAST_ONCE
public static final FunctionConfig.ProcessingGuarantees ATLEAST_ONCE
-
ATMOST_ONCE
public static final FunctionConfig.ProcessingGuarantees ATMOST_ONCE
-
EFFECTIVELY_ONCE
public static final FunctionConfig.ProcessingGuarantees EFFECTIVELY_ONCE
-
-
Method Detail
-
values
public static FunctionConfig.ProcessingGuarantees[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FunctionConfig.ProcessingGuarantees c : FunctionConfig.ProcessingGuarantees.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionConfig.ProcessingGuarantees valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-