public class ResultPartitionDeploymentDescriptor extends Object implements Serializable
ResultPartition
,
Serialized FormConstructor and Description |
---|
ResultPartitionDeploymentDescriptor(IntermediateDataSetID resultId,
IntermediateResultPartitionID partitionId,
ResultPartitionType partitionType,
int numberOfSubpartitions,
boolean eagerlyDeployConsumers) |
Modifier and Type | Method and Description |
---|---|
static ResultPartitionDeploymentDescriptor |
from(IntermediateResultPartition partition) |
boolean |
getEagerlyDeployConsumers()
Returns whether consumers should be deployed eagerly (as soon as they
are registered at the result manager of the task manager).
|
int |
getNumberOfSubpartitions() |
IntermediateResultPartitionID |
getPartitionId() |
ResultPartitionType |
getPartitionType() |
IntermediateDataSetID |
getResultId() |
String |
toString() |
public ResultPartitionDeploymentDescriptor(IntermediateDataSetID resultId, IntermediateResultPartitionID partitionId, ResultPartitionType partitionType, int numberOfSubpartitions, boolean eagerlyDeployConsumers)
public IntermediateDataSetID getResultId()
public IntermediateResultPartitionID getPartitionId()
public ResultPartitionType getPartitionType()
public int getNumberOfSubpartitions()
public boolean getEagerlyDeployConsumers()
public static ResultPartitionDeploymentDescriptor from(IntermediateResultPartition partition)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.