public class RawMemoryRegion
extends java.lang.Object
RawMemoryRegionFactory.getRegion()
methods of the raw memory region
factory classes, and it is used with methods such as
RawMemoryFactory.createRawByte(RawMemoryRegion, long, int, int)
and RawMemoryFactory.createRawDouble(RawMemoryRegion, long, int, int)
methods to identify the region from which the application wants to
get an accessor instance.
This is distinct from the, similarly named
PhysicalMemoryName
class, which is used with
memory area classes, specifically
ImmortalPhysicalMemory
and
LTPhysicalMemory
.
Modifier and Type | Method and Description |
---|---|
static RawMemoryRegion |
get(java.lang.String name)
Get the raw memory region with given name.
|
java.lang.String |
getName()
Obtain the name of this raw memory region.
|
static boolean |
isRawMemoryRegion(java.lang.String name)
A predicate on names for raw memory regions
|
java.lang.String |
toString()
Obtain a string representation of this.
|
public static RawMemoryRegion get(java.lang.String name)
name
- of the regionStaticIllegalArgumentException
- when name
is null
.public static boolean isRawMemoryRegion(java.lang.String name)
name
- is the name to checkname
names an existing raw memory region.public final java.lang.String getName()
public final java.lang.String toString()
toString
in class java.lang.Object