Class SequentialChannelStateReaderImpl
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.channel.SequentialChannelStateReaderImpl
-
- All Implemented Interfaces:
AutoCloseable,SequentialChannelStateReader
public class SequentialChannelStateReaderImpl extends Object implements SequentialChannelStateReader
SequentialChannelStateReaderimplementation.
-
-
Field Summary
-
Fields inherited from interface org.apache.flink.runtime.checkpoint.channel.SequentialChannelStateReader
NO_OP
-
-
Constructor Summary
Constructors Constructor Description SequentialChannelStateReaderImpl(TaskStateSnapshot taskStateSnapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidreadInputData(InputGate[] inputGates)voidreadOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion)
-
-
-
Constructor Detail
-
SequentialChannelStateReaderImpl
public SequentialChannelStateReaderImpl(TaskStateSnapshot taskStateSnapshot)
-
-
Method Detail
-
readInputData
public void readInputData(InputGate[] inputGates) throws IOException, InterruptedException
- Specified by:
readInputDatain interfaceSequentialChannelStateReader- Throws:
IOExceptionInterruptedException
-
readOutputData
public void readOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion) throws IOException, InterruptedException
- Specified by:
readOutputDatain interfaceSequentialChannelStateReader- Throws:
IOExceptionInterruptedException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSequentialChannelStateReader- Throws:
Exception
-
-