Class MmappedRegions.Region

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.nio.ByteBuffer buffer  
      long offset  
    • Constructor Summary

      Constructors 
      Constructor Description
      Region​(long offset, java.nio.ByteBuffer buffer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer buffer()
      Returns a useable buffer (i.e.
      long end()  
      java.nio.FloatBuffer floatBuffer()  
      java.nio.IntBuffer intBuffer()  
      long offset()
      Position in the file of the start of the buffer.
      void release()
      To be called when this buffer is no longer in use.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • offset

        public final long offset
      • buffer

        public final java.nio.ByteBuffer buffer
    • Constructor Detail

      • Region

        public Region​(long offset,
                      java.nio.ByteBuffer buffer)