Class ChannelStatePendingResult
java.lang.Object
org.apache.flink.runtime.checkpoint.channel.ChannelStatePendingResult
The pending result of channel state for a specific checkpoint-subtask.
-
Constructor Summary
ConstructorsConstructorDescriptionChannelStatePendingResult(int subtaskIndex, long checkpointId, ChannelStateWriter.ChannelStateWriteResult result, org.apache.flink.runtime.checkpoint.channel.ChannelStateSerializer serializer) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfinishResult(StreamStateHandle stateHandle) booleanbooleanbooleanisDone()
-
Constructor Details
-
ChannelStatePendingResult
public ChannelStatePendingResult(int subtaskIndex, long checkpointId, ChannelStateWriter.ChannelStateWriteResult result, org.apache.flink.runtime.checkpoint.channel.ChannelStateSerializer serializer)
-
-
Method Details
-
isAllInputsReceived
public boolean isAllInputsReceived() -
isAllOutputsReceived
public boolean isAllOutputsReceived() -
getInputChannelOffsets
public Map<InputChannelInfo,AbstractChannelStateHandle.StateContentMetaInfo> getInputChannelOffsets() -
getResultSubpartitionOffsets
public Map<ResultSubpartitionInfo,AbstractChannelStateHandle.StateContentMetaInfo> getResultSubpartitionOffsets() -
finishResult
- Throws:
IOException
-
fail
-
isDone
public boolean isDone()
-