Interface SegmentWriteOutMediumFactory
- All Known Implementing Classes:
LegacyTmpFileSegmentWriteOutMediumFactory,OffHeapMemorySegmentWriteOutMediumFactory,OnHeapMemorySegmentWriteOutMediumFactory,TmpFileSegmentWriteOutMediumFactory
public interface SegmentWriteOutMediumFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<SegmentWriteOutMediumFactory> makeSegmentWriteOutMedium(File outDir) Creates a new SegmentWriteOutMedium.
-
Method Details
-
builtInFactories
-
makeSegmentWriteOutMedium
Creates a new SegmentWriteOutMedium. If this type of SegmentWriteOutMedium needs to create some temprorary files, it creates a *subdirectory* in the given outDir, stores the files there, and removes the files and the subdirectory when closed.- Throws:
IOException
-