Package org.apache.flink.runtime.shuffle
Enum NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo
- java.lang.Object
-
- java.lang.Enum<NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo>
-
- org.apache.flink.runtime.shuffle.NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo
-
- All Implemented Interfaces:
Serializable
,Comparable<NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo>
,NettyShuffleDescriptor.PartitionConnectionInfo
- Enclosing class:
- NettyShuffleDescriptor
public static enum NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo extends Enum<NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo> implements NettyShuffleDescriptor.PartitionConnectionInfo
Local partition connection information.Does not have any network connection information in case of local execution.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddress
getAddress()
int
getConnectionIndex()
static NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo
valueOf(String name)
Returns the enum constant of this type with the specified name.static NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo INSTANCE
-
-
Method Detail
-
values
public static NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo[] 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 (NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo c : NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo 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
-
getAddress
public InetSocketAddress getAddress()
- Specified by:
getAddress
in interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-
getConnectionIndex
public int getConnectionIndex()
- Specified by:
getConnectionIndex
in interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-
-