Enum DataTransferEvent.TransferType
- java.lang.Object
-
- java.lang.Enum<DataTransferEvent.TransferType>
-
- org.apache.nemo.runtime.common.metric.DataTransferEvent.TransferType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataTransferEvent.TransferType>
- Enclosing class:
- DataTransferEvent
public static enum DataTransferEvent.TransferType extends java.lang.Enum<DataTransferEvent.TransferType>
Enum of transfer types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READ_END
READ_START
WRITE_END
WRITE_START
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTransferEvent.TransferType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataTransferEvent.TransferType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_START
public static final DataTransferEvent.TransferType READ_START
-
READ_END
public static final DataTransferEvent.TransferType READ_END
-
WRITE_START
public static final DataTransferEvent.TransferType WRITE_START
-
WRITE_END
public static final DataTransferEvent.TransferType WRITE_END
-
-
Method Detail
-
values
public static DataTransferEvent.TransferType[] 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 (DataTransferEvent.TransferType c : DataTransferEvent.TransferType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTransferEvent.TransferType 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
-
-