Interface SegmentWriteOutMediumFactory

All Known Implementing Classes:
LegacyTmpFileSegmentWriteOutMediumFactory, OffHeapMemorySegmentWriteOutMediumFactory, OnHeapMemorySegmentWriteOutMediumFactory, TmpFileSegmentWriteOutMediumFactory

public interface SegmentWriteOutMediumFactory
  • Method Details

    • 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