Package org.apache.flink.runtime.shuffle
Class ProducerDescriptor
java.lang.Object
org.apache.flink.runtime.shuffle.ProducerDescriptor
Partition producer descriptor for
ShuffleMaster to obtain ShuffleDescriptor.
The producer descriptor contains general producer specific information relevant for the
shuffle service: the producer location as ResourceID, ExecutionAttemptID and the
network connection information for shuffle data exchange (address and port).
-
Constructor Summary
ConstructorsConstructorDescriptionProducerDescriptor(ResourceID producerLocation, ExecutionAttemptID producerExecutionId, InetAddress address, int dataPort) -
Method Summary
Modifier and TypeMethodDescriptionstatic ProducerDescriptorcreate(TaskManagerLocation producerLocation, ExecutionAttemptID attemptId) int
-
Constructor Details
-
ProducerDescriptor
@VisibleForTesting public ProducerDescriptor(ResourceID producerLocation, ExecutionAttemptID producerExecutionId, InetAddress address, int dataPort)
-
-
Method Details
-
getProducerLocation
-
getProducerExecutionId
-
getAddress
-
getDataPort
public int getDataPort() -
create
public static ProducerDescriptor create(TaskManagerLocation producerLocation, ExecutionAttemptID attemptId)
-