Class RemoteChannelStateChecker
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.consumer.RemoteChannelStateChecker
-
public class RemoteChannelStateChecker extends Object
Handles the response ofPartitionProducerStateProvider.The method
isProducerReadyOrAbortConsumptiondetermines whether the partition producer is in a producing state, ready for consumption. Otherwise it aborts the consumption.
-
-
Constructor Summary
Constructors Constructor Description RemoteChannelStateChecker(ResultPartitionID resultPartitionId, String taskNameWithSubtask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisProducerReadyOrAbortConsumption(PartitionProducerStateProvider.ResponseHandle responseHandle)
-
-
-
Constructor Detail
-
RemoteChannelStateChecker
public RemoteChannelStateChecker(ResultPartitionID resultPartitionId, String taskNameWithSubtask)
-
-
Method Detail
-
isProducerReadyOrAbortConsumption
public boolean isProducerReadyOrAbortConsumption(PartitionProducerStateProvider.ResponseHandle responseHandle)
-
-