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 ofFileDataIndexSpilledRegionManager.
-
-
Constructor Summary
Constructors Constructor Description Factory(int regionGroupSizeInBytes, long maxCacheCapacity, int regionHeaderSize, FileDataIndexRegionHelper<T> fileDataIndexRegionHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileDataIndexSpilledRegionManager<T>create(int numSubpartitions, Path indexFilePath, BiConsumer<Integer,T> cacheRegionConsumer)
-
-
-
Constructor Detail
-
Factory
public Factory(int regionGroupSizeInBytes, long maxCacheCapacity, int regionHeaderSize, FileDataIndexRegionHelper<T> fileDataIndexRegionHelper)
-
-
Method Detail
-
create
public FileDataIndexSpilledRegionManager<T> create(int numSubpartitions, Path indexFilePath, BiConsumer<Integer,T> cacheRegionConsumer)
- Specified by:
createin interfaceFileDataIndexSpilledRegionManager.Factory<T extends FileDataIndexRegionHelper.Region>
-
-