Class SequentialChannelStateReaderImpl
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.channel.SequentialChannelStateReaderImpl
-
- All Implemented Interfaces:
AutoCloseable
,SequentialChannelStateReader
public class SequentialChannelStateReaderImpl extends Object implements SequentialChannelStateReader
SequentialChannelStateReader
implementation.
-
-
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 void
close()
void
readInputData(InputGate[] inputGates)
void
readOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion)
-
-
-
Constructor Detail
-
SequentialChannelStateReaderImpl
public SequentialChannelStateReaderImpl(TaskStateSnapshot taskStateSnapshot)
-
-
Method Detail
-
readInputData
public void readInputData(InputGate[] inputGates) throws IOException, InterruptedException
- Specified by:
readInputData
in interfaceSequentialChannelStateReader
- Throws:
IOException
InterruptedException
-
readOutputData
public void readOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion) throws IOException, InterruptedException
- Specified by:
readOutputData
in interfaceSequentialChannelStateReader
- Throws:
IOException
InterruptedException
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSequentialChannelStateReader
- Throws:
Exception
-
-