Interface MappableMemory

  • All Known Implementing Classes:
    FileMappedMemoryRegion, MappedMemoryBase

    public interface MappableMemory
    Memory objects implementing this interface are 'mapped' and require calls to map/unmap methods for access.
    Author:
    royer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void force()
      TODO: figue out what this is really about
      boolean isCurrentlyMapped()
      Returns true if this object is mapped, false otherwise.
      long map()
      Maps this memory object.
      void unmap()
      Unmaps this memory object.
    • Method Detail

      • map

        long map()
        Maps this memory object.
        Returns:
        mapping address
      • force

        void force()
        TODO: figue out what this is really about
      • unmap

        void unmap()
        Unmaps this memory object.
      • isCurrentlyMapped

        boolean isCurrentlyMapped()
        Returns true if this object is mapped, false otherwise.
        Returns:
        true if mapped, false otherwise.