Interface SegmentWriteOutMediumFactory
-
- All Known Implementing Classes:
OffHeapMemorySegmentWriteOutMediumFactory
,OnHeapMemorySegmentWriteOutMediumFactory
,TmpFileSegmentWriteOutMediumFactory
public interface SegmentWriteOutMediumFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Set<SegmentWriteOutMediumFactory>
builtInFactories()
SegmentWriteOutMedium
makeSegmentWriteOutMedium(File outDir)
Creates a new SegmentWriteOutMedium.
-
-
-
Method Detail
-
builtInFactories
static Set<SegmentWriteOutMediumFactory> builtInFactories()
-
makeSegmentWriteOutMedium
SegmentWriteOutMedium makeSegmentWriteOutMedium(File outDir) throws IOException
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
-
-