public class RemoteChannelStateChecker extends Object
PartitionProducerStateProvider.
The method isProducerReadyOrAbortConsumption determines whether the partition producer
is in a producing state, ready for consumption. Otherwise it aborts the consumption.
| 构造器和说明 |
|---|
RemoteChannelStateChecker(ResultPartitionID resultPartitionId,
String taskNameWithSubtask) |
public RemoteChannelStateChecker(ResultPartitionID resultPartitionId, String taskNameWithSubtask)
public boolean isProducerReadyOrAbortConsumption(PartitionProducerStateProvider.ResponseHandle responseHandle)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.