Interface SequentialChannelStateReader
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
SequentialChannelStateReaderImpl
@Internal public interface SequentialChannelStateReader extends AutoCloseable
Reads channel state saved during checkpoint/savepoint.
-
-
Field Summary
Fields Modifier and Type Field Description static SequentialChannelStateReaderNO_OP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidreadInputData(InputGate[] inputGates)voidreadOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion)
-
-
-
Field Detail
-
NO_OP
static final SequentialChannelStateReader NO_OP
-
-
Method Detail
-
readInputData
void readInputData(InputGate[] inputGates) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
readOutputData
void readOutputData(ResultPartitionWriter[] writers, boolean notifyAndBlockOnCompletion) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
close
void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-