Class FileDataIndexSpilledRegionManagerImpl.Factory<T extends FileDataIndexRegionHelper.Region>
java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.index.FileDataIndexSpilledRegionManagerImpl.Factory<T>
- All Implemented Interfaces:
FileDataIndexSpilledRegionManager.Factory<T>
- Enclosing class:
- FileDataIndexSpilledRegionManagerImpl<T extends FileDataIndexRegionHelper.Region>
public static class FileDataIndexSpilledRegionManagerImpl.Factory<T extends FileDataIndexRegionHelper.Region>
extends Object
implements FileDataIndexSpilledRegionManager.Factory<T>
Factory of
FileDataIndexSpilledRegionManager.-
Constructor Summary
ConstructorsConstructorDescriptionFactory(int regionGroupSizeInBytes, long maxCacheCapacity, int regionHeaderSize, FileDataIndexRegionHelper<T> fileDataIndexRegionHelper) -
Method Summary
Modifier and TypeMethodDescriptioncreate(int numSubpartitions, Path indexFilePath, BiConsumer<Integer, T> cacheRegionConsumer)
-
Constructor Details
-
Factory
public Factory(int regionGroupSizeInBytes, long maxCacheCapacity, int regionHeaderSize, FileDataIndexRegionHelper<T> fileDataIndexRegionHelper)
-
-
Method Details
-
create
public FileDataIndexSpilledRegionManager<T> create(int numSubpartitions, Path indexFilePath, BiConsumer<Integer, T> cacheRegionConsumer) - Specified by:
createin interfaceFileDataIndexSpilledRegionManager.Factory<T extends FileDataIndexRegionHelper.Region>
-