Interface MappableMemory
-
- All Known Implementing Classes:
FileMappedMemoryRegion,MappedMemoryBase
public interface MappableMemoryMemory 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 voidforce()TODO: figue out what this is really aboutbooleanisCurrentlyMapped()Returns true if this object is mapped, false otherwise.longmap()Maps this memory object.voidunmap()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.
-
-