Class EmptyFileMergingOperatorStreamStateHandle
- java.lang.Object
-
- org.apache.flink.runtime.state.OperatorStreamStateHandle
-
- org.apache.flink.runtime.state.filemerging.FileMergingOperatorStreamStateHandle
-
- org.apache.flink.runtime.state.filemerging.EmptyFileMergingOperatorStreamStateHandle
-
- All Implemented Interfaces:
Serializable
,CompositeStateHandle
,OperatorStateHandle
,StateObject
,StreamStateHandle
public class EmptyFileMergingOperatorStreamStateHandle extends FileMergingOperatorStreamStateHandle
An emptyFileMergingOperatorStreamStateHandle
that is only used as a placeholder to prevent file merging directory from being deleted.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.OperatorStateHandle
OperatorStateHandle.Mode, OperatorStateHandle.StateMetaInfo
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector
-
-
Constructor Summary
Constructors Constructor Description EmptyFileMergingOperatorStreamStateHandle(DirectoryStreamStateHandle taskOwnedDirHandle, DirectoryStreamStateHandle sharedDirHandle, Map<String,OperatorStateHandle.StateMetaInfo> stateNameToPartitionOffsets, StreamStateHandle delegateStateHandle)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmptyFileMergingOperatorStreamStateHandle
create(DirectoryStreamStateHandle taskownedDirHandle, DirectoryStreamStateHandle sharedDirHandle)
Create an emptyEmptyFileMergingOperatorStreamStateHandle
.-
Methods inherited from class org.apache.flink.runtime.state.filemerging.FileMergingOperatorStreamStateHandle
discardState, equals, getCheckpointedSize, getSharedDirHandle, getTaskOwnedDirHandle, hashCode, registerSharedStates, toString
-
Methods inherited from class org.apache.flink.runtime.state.OperatorStreamStateHandle
asBytesIfInMemory, collectSizeStats, getDelegateStateHandle, getStateNameToPartitionOffsets, getStateSize, getStreamStateHandleID, maybeGetPath, openInputStream
-
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, getStateSize
-
-
-
-
Constructor Detail
-
EmptyFileMergingOperatorStreamStateHandle
public EmptyFileMergingOperatorStreamStateHandle(DirectoryStreamStateHandle taskOwnedDirHandle, DirectoryStreamStateHandle sharedDirHandle, Map<String,OperatorStateHandle.StateMetaInfo> stateNameToPartitionOffsets, StreamStateHandle delegateStateHandle)
-
-
Method Detail
-
create
public static EmptyFileMergingOperatorStreamStateHandle create(DirectoryStreamStateHandle taskownedDirHandle, DirectoryStreamStateHandle sharedDirHandle)
Create an emptyEmptyFileMergingOperatorStreamStateHandle
.- Parameters:
taskownedDirHandle
- the directory where operator state is stored.sharedDirHandle
- the directory where shared state is stored.
-
-