Enum HsSpillingInfoProvider.SpillStatus
- java.lang.Object
-
- java.lang.Enum<HsSpillingInfoProvider.SpillStatus>
-
- org.apache.flink.runtime.io.network.partition.hybrid.HsSpillingInfoProvider.SpillStatus
-
- All Implemented Interfaces:
Serializable,Comparable<HsSpillingInfoProvider.SpillStatus>
- Enclosing interface:
- HsSpillingInfoProvider
public static enum HsSpillingInfoProvider.SpillStatus extends Enum<HsSpillingInfoProvider.SpillStatus>
This enum represents buffer status of spill in hybrid shuffle mode.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HsSpillingInfoProvider.SpillStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static HsSpillingInfoProvider.SpillStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPILL
public static final HsSpillingInfoProvider.SpillStatus SPILL
The buffer is spilling or spilled already.
-
NOT_SPILL
public static final HsSpillingInfoProvider.SpillStatus NOT_SPILL
The buffer not start spilling.
-
ALL
public static final HsSpillingInfoProvider.SpillStatus ALL
The buffer is either spill or not spill.
-
-
Method Detail
-
values
public static HsSpillingInfoProvider.SpillStatus[] 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 (HsSpillingInfoProvider.SpillStatus c : HsSpillingInfoProvider.SpillStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HsSpillingInfoProvider.SpillStatus 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
-
-