Class MappingEntry
java.lang.Object
org.apache.flink.runtime.asyncprocessing.ReferenceCounted
org.apache.flink.state.forst.fs.filemapping.MappingEntry
public class MappingEntry
extends org.apache.flink.runtime.asyncprocessing.ReferenceCounted
A file mapping entry that encapsulates source and destination path. Source Path : dest Path = 1 :
N.
-
Constructor Summary
ConstructorsConstructorDescriptionMappingEntry(int initReference, org.apache.flink.core.fs.Path sourcePath, FileOwnership fileOwnership, boolean isDirectory) MappingEntry(int initReference, org.apache.flink.runtime.state.StreamStateHandle stateHandle, FileOwnership fileOwnership, boolean isDirectory) MappingEntry(int initReference, MappingEntrySource source, FileOwnership fileOwnership, FileBasedCache cache, boolean isDirectory, boolean writing) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanorg.apache.flink.core.fs.Pathbooleanprotected voidvoidsetFileOwnership(FileOwnership ownership) voidsetSource(org.apache.flink.runtime.state.StreamStateHandle stateHandle) toString()Methods inherited from class org.apache.flink.runtime.asyncprocessing.ReferenceCounted
getReferenceCount, release, release, retain, tryRetain
-
Constructor Details
-
MappingEntry
public MappingEntry(int initReference, org.apache.flink.runtime.state.StreamStateHandle stateHandle, FileOwnership fileOwnership, boolean isDirectory) -
MappingEntry
public MappingEntry(int initReference, org.apache.flink.core.fs.Path sourcePath, FileOwnership fileOwnership, boolean isDirectory) -
MappingEntry
public MappingEntry(int initReference, MappingEntrySource source, FileOwnership fileOwnership, FileBasedCache cache, boolean isDirectory, boolean writing)
-
-
Method Details
-
setFileOwnership
-
setSource
public void setSource(org.apache.flink.runtime.state.StreamStateHandle stateHandle) -
getSource
-
getSourcePath
@Nullable public org.apache.flink.core.fs.Path getSourcePath() -
getFileOwnership
-
isWriting
public boolean isWriting() -
endWriting
public void endWriting() -
referenceCountReachedZero
- Specified by:
referenceCountReachedZeroin classorg.apache.flink.runtime.asyncprocessing.ReferenceCounted
-
equals
-
toString
-