Package org.apache.flink.runtime.state
Class MergedInputChannelStateHandle
- java.lang.Object
-
- org.apache.flink.runtime.state.AbstractMergedChannelStateHandle<InputChannelInfo,InputChannelStateHandle>
-
- org.apache.flink.runtime.state.MergedInputChannelStateHandle
-
- All Implemented Interfaces:
Serializable
,ChannelState
,InputStateHandle
,StateObject
public class MergedInputChannelStateHandle extends AbstractMergedChannelStateHandle<InputChannelInfo,InputChannelStateHandle> implements InputStateHandle
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector
-
-
Field Summary
-
Fields inherited from class org.apache.flink.runtime.state.AbstractMergedChannelStateHandle
delegate, serializedChannelOffsets, size, subtaskIndex
-
-
Constructor Summary
Constructors Constructor Description MergedInputChannelStateHandle(int subtaskIndex, StreamStateHandle delegate, long size, byte[] serializedChannelOffsets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputChannelStateHandle
createUnmergedHandle(int subtaskIndex, StreamStateHandle delegate, InputChannelInfo info, long stateSize, List<Long> offsets)
static MergedInputChannelStateHandle
fromChannelHandles(Collection<InputChannelStateHandle> handles)
protected InputChannelInfo
readInfo(DataInputStream dis)
protected void
writeInfo(InputChannelInfo inputChannelInfo, DataOutputStream dos)
-
Methods inherited from class org.apache.flink.runtime.state.AbstractMergedChannelStateHandle
discardState, equals, getDelegate, getInfos, getSerializedChannelOffsets, getStateSize, getSubtaskIndex, getUnmergedHandles, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.state.StateObject
collectSizeStats, discardState, getStateSize
-
-
-
-
Constructor Detail
-
MergedInputChannelStateHandle
public MergedInputChannelStateHandle(int subtaskIndex, StreamStateHandle delegate, long size, byte[] serializedChannelOffsets)
-
-
Method Detail
-
writeInfo
protected void writeInfo(InputChannelInfo inputChannelInfo, DataOutputStream dos) throws IOException
- Specified by:
writeInfo
in classAbstractMergedChannelStateHandle<InputChannelInfo,InputChannelStateHandle>
- Throws:
IOException
-
readInfo
protected InputChannelInfo readInfo(DataInputStream dis) throws IOException
- Specified by:
readInfo
in classAbstractMergedChannelStateHandle<InputChannelInfo,InputChannelStateHandle>
- Throws:
IOException
-
createUnmergedHandle
protected InputChannelStateHandle createUnmergedHandle(int subtaskIndex, StreamStateHandle delegate, InputChannelInfo info, long stateSize, List<Long> offsets)
- Specified by:
createUnmergedHandle
in classAbstractMergedChannelStateHandle<InputChannelInfo,InputChannelStateHandle>
-
fromChannelHandles
public static MergedInputChannelStateHandle fromChannelHandles(Collection<InputChannelStateHandle> handles)
-
-