Enum BufferFullStrategy
- java.lang.Object
-
- java.lang.Enum<BufferFullStrategy>
-
- org.apache.kafka.streams.kstream.internals.suppress.BufferFullStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<BufferFullStrategy>
public enum BufferFullStrategy extends Enum<BufferFullStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMIT
SHUT_DOWN
SPILL_TO_DISK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BufferFullStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static BufferFullStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMIT
public static final BufferFullStrategy EMIT
-
SPILL_TO_DISK
public static final BufferFullStrategy SPILL_TO_DISK
-
SHUT_DOWN
public static final BufferFullStrategy SHUT_DOWN
-
-
Method Detail
-
values
public static BufferFullStrategy[] 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 (BufferFullStrategy c : BufferFullStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BufferFullStrategy 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
-
-