Class MMFBytez

java.lang.Object
org.nustaq.offheap.bytez.malloc.MemoryBytez
org.nustaq.offheap.bytez.malloc.MMFBytez
All Implemented Interfaces:
BasicBytez, ByteSink, ByteSource, Bytez

public class MMFBytez extends MemoryBytez
Bytez allocated inside a memory mapped file. Some Mmap file stuff handling is copied from OpenHFT library (too big to depend on for fst), a great tool for all kind of binary/low level java stuff. Check it out at github.
  • Constructor Details

  • Method Details

    • init

      protected void init(String file, long length, boolean clearFile) throws Exception
      Throws:
      Exception
    • freeAndClose

      public void freeAndClose()
    • getFile

      public File getFile()