|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.realtime.MemoryArea
javax.realtime.ImmortalPhysicalMemory
A memory area that allows allocation from a physical memory range
with particular memory attributes. Like ImmortalMemory,
memory areas of this type are not garbage collected.
| Field Summary |
| Fields inherited from class javax.realtime.MemoryArea |
logic, parent, sizeInBytes |
| Constructor Summary | |
ImmortalPhysicalMemory(Object type,
long size)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
long base,
long size)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
long size,
Runnable logic)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
long base,
SizeEstimator size)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
SizeEstimator size)
Construct an ImmortalPhysicalMemory. |
|
ImmortalPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Construct an ImmortalPhysicalMemory. |
|
| Methods inherited from class javax.realtime.MemoryArea |
enter, enter, executeInArea, finalize, getMemoryArea, guardedRun, memoryConsumed, memoryRemaining, newArray, newInstance, newInstance, size |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImmortalPhysicalMemory(Object type,
long size)
ImmortalPhysicalMemory.
type - the requested type of memorysize - the requested size of the memory area
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - never thrown (but the spec
requires it in the signature)
public ImmortalPhysicalMemory(Object type,
long base,
long size)
ImmortalPhysicalMemory.
type - the requested type of memorybase - the requested base physical address of the memory
areasize - the requested size of the memory area
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - if the memory type and
offset are in conflict
MemoryInUseException - at least some of the requested
memory range is already in use
public ImmortalPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
ImmortalPhysicalMemory.
type - the requested type of memorybase - the requested base physical address of the memory
areasize - the requested size of the memory arealogic - the run() method invoked
when MemoryArea.enter() is called
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - if the memory type and
offset are in conflict
MemoryInUseException - at least some of the requested
memory range is already in use
public ImmortalPhysicalMemory(Object type,
long size,
Runnable logic)
ImmortalPhysicalMemory.
type - the requested type of memorysize - the requested size of the memory arealogic - the run() method invoked
when MemoryArea.enter() is called
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - never thrown (but the spec
requires it in the signature)
public ImmortalPhysicalMemory(Object type,
long base,
SizeEstimator size)
ImmortalPhysicalMemory.
type - the requested type of memorybase - the requested base physical address of the memory
areasize - the requested size of the memory area
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - if the memory type and
offset are in conflict
MemoryInUseException - at least some of the requested
memory range is already in use
public ImmortalPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
ImmortalPhysicalMemory.
type - the requested type of memorybase - the requested base physical address of the memory
areasize - the requested size of the memory arealogic - the run() method invoked
when MemoryArea.enter() is called
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - if the memory type and
offset are in conflict
MemoryInUseException - at least some of the requested
memory range is already in use
public ImmortalPhysicalMemory(Object type,
SizeEstimator size)
ImmortalPhysicalMemory.
type - the requested type of memorysize - the requested size of the memory area
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - never thrown (but the spec
requires it in the signature)
public ImmortalPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
ImmortalPhysicalMemory.
type - the requested type of memorysize - the requested size of the memory arealogic - the run() method invoked
when MemoryArea.enter() is called
SecurityException - if the calling execution context
doesn't have permission to access this memory area
SizeOutOfBoundsException - the size is negative or
extends into an invalid range of memory
UnsupportedPhysicalMemoryException - hardware doesn't
support the type of memory requested
MemoryTypeConflictException - never thrown (but the spec
requires it in the signature)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||