Enum StreamThread.ProcessingMode
- java.lang.Object
-
- java.lang.Enum<StreamThread.ProcessingMode>
-
- org.apache.kafka.streams.processor.internals.StreamThread.ProcessingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<StreamThread.ProcessingMode>
- Enclosing class:
- StreamThread
public static enum StreamThread.ProcessingMode extends Enum<StreamThread.ProcessingMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AT_LEAST_ONCE
EXACTLY_ONCE_ALPHA
EXACTLY_ONCE_BETA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamThread.ProcessingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StreamThread.ProcessingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT_LEAST_ONCE
public static final StreamThread.ProcessingMode AT_LEAST_ONCE
-
EXACTLY_ONCE_ALPHA
public static final StreamThread.ProcessingMode EXACTLY_ONCE_ALPHA
-
EXACTLY_ONCE_BETA
public static final StreamThread.ProcessingMode EXACTLY_ONCE_BETA
-
-
Field Detail
-
name
public final String name
-
-
Method Detail
-
values
public static StreamThread.ProcessingMode[] 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 (StreamThread.ProcessingMode c : StreamThread.ProcessingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamThread.ProcessingMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-