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