|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.realtime.MemoryArea
javax.realtime.ScopedMemory
javax.realtime.VTPhysicalMemory
public class VTPhysicalMemory
Jamaica Real-Time Specification for Java class VTPhysicalMemory.
This memory area permits the allocation of objects in a memory area that has the same characteristics as VTMemory but that lies in a range of memory of a predetermined type.
| Field Summary |
|---|
| Fields inherited from class javax.realtime.MemoryArea |
|---|
memoryAreaHeapLock |
| Constructor Summary | |
|---|---|
VTPhysicalMemory(Object type,
long size)
Constructor to create an instance of VTPhysicalMemory with the given type and size. |
|
VTPhysicalMemory(Object type,
long base,
long size)
Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size. |
|
VTPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size. |
|
VTPhysicalMemory(Object type,
long size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with the given type and size. |
|
VTPhysicalMemory(Object type,
long base,
SizeEstimator size)
Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size. |
|
VTPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size. |
|
VTPhysicalMemory(Object type,
SizeEstimator size)
Constructor to create an instance of VTPhysicalMemory with the given type and size. |
|
VTPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with the given type and size. |
|
| Method Summary | |
|---|---|
String |
toString()
toString creates a string representation of this memory area of the form "(VTPhysicalMemory) Scoped memory # "+ num with num being a unique identifier for this memory area. |
| Methods inherited from class javax.realtime.ScopedMemory |
|---|
enter, enter, executeInArea, getMaximumSize, getParent, getPortal, getReferenceCount, join, join, joinAndEnter, joinAndEnter, joinAndEnter, joinAndEnter, setPortal |
| Methods inherited from class javax.realtime.MemoryArea |
|---|
clearMemory, createStackedMemory, freeStacked, getMemoryArea, memoryConsumed, memoryNeedsToBeCleared, memoryNeedsToBeFreed, memoryRemaining, newArray, newInstance, newInstance, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VTPhysicalMemory(Object type,
long size)
throws SecurityException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
type - The type or array of types of memory that is
requested.size - The size of the memory area in bytes.
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
public VTPhysicalMemory(Object type,
long base,
long size)
throws SecurityException,
SizeOutOfBoundsException,
OffsetOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException,
MemoryInUseException
type - The type or array of types of memory that is
requested.base - The base address of the area.size - The size of the memory area in bytes.
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException
public VTPhysicalMemory(Object type,
SizeEstimator size)
throws SecurityException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
type - The type or array of types of memory that is
requested.size - The size of the memory area.
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
public VTPhysicalMemory(Object type,
long base,
SizeEstimator size)
throws SecurityException,
SizeOutOfBoundsException,
OffsetOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException,
MemoryInUseException
type - The type or array of types of memory that is
requested.base - The base address of the area.size - The size of the memory area.
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException
public VTPhysicalMemory(Object type,
long size,
Runnable logic)
throws SecurityException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
type - The type or array of types of memory that is
requested.size - The size of the memory area in bytes.logic - The default logic to be executed on a call to
enter().
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
public VTPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
throws SecurityException,
SizeOutOfBoundsException,
OffsetOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException,
MemoryInUseException
type - The type or array of types of memory that is
requested.base - The base address of the area.size - The size of the memory area in bytes.logic - The default logic to be executed on a call to
enter().
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException
public VTPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
throws SecurityException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
type - The type or array of types of memory that is
requested.size - The size of the memory area.logic - The default logic to be executed on a call to
enter().
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
public VTPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
throws SecurityException,
SizeOutOfBoundsException,
OffsetOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException,
MemoryInUseException
type - The type or array of types of memory that is
requested.base - The base address of the area.size - The size of the memory area.logic - The default logic to be executed on a call to
enter().
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException| Method Detail |
|---|
public String toString()
toString in class ScopedMemory
|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||