public class LTPhysicalMemory extends ScopedMemory
Jamaica Real-Time Specification for Java class LTPhysicalMemory.
This memory area permits the allocation of objects in a memory area that has the same characteristics as LTMemory but that lies in a range of memory of a predetermined type.
memoryAreaHeapLock| Constructor and Description |
|---|
LTPhysicalMemory(Object type,
long size)
Constructor to create an instance of LTPhysicalMemory with
the given type and size.
|
LTPhysicalMemory(Object type,
long base,
long size)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, and size.
|
LTPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, size, and logic.
|
LTPhysicalMemory(Object type,
long size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with the
given type, size, and logic.
|
LTPhysicalMemory(Object type,
long base,
SizeEstimator size)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, and size.
|
LTPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, size, and logic.
|
LTPhysicalMemory(Object type,
SizeEstimator size)
Constructor to create an instance of LTPhysicalMemory with
the given type and size.
|
LTPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, size, and logic.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
enter, enter, executeInArea, getMaximumSize, getParent, getPortal, getReferenceCount, join, join, joinAndEnter, joinAndEnter, joinAndEnter, joinAndEnter, setPortalclearMemory, createStackedMemory, freeStacked, getMemoryArea, memoryConsumed, memoryNeedsToBeCleared, memoryNeedsToBeFreed, memoryRemaining, newArray, newInstance, newInstance, sizepublic LTPhysicalMemory(Object type, long size) throws SecurityException, SizeOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException
SecurityExceptionSizeOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptiontype - The type or array of types of memory that is
requested.size - The size of the memory area in bytes.public LTPhysicalMemory(Object type, long base, long size) throws SecurityException, SizeOutOfBoundsException, OffsetOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException, MemoryInUseException
SecurityExceptionSizeOutOfBoundsExceptionOffsetOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptionMemoryInUseExceptiontype - 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.public LTPhysicalMemory(Object type, SizeEstimator size) throws SecurityException, SizeOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException
SecurityExceptionSizeOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptiontype - The type or array of types of memory that is
requested.size - The size of the memory area.public LTPhysicalMemory(Object type, long base, SizeEstimator size) throws SecurityException, SizeOutOfBoundsException, OffsetOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException, MemoryInUseException
SecurityExceptionSizeOutOfBoundsExceptionOffsetOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptionMemoryInUseExceptiontype - 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.public LTPhysicalMemory(Object type, long size, Runnable logic) throws SecurityException, SizeOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException
SecurityExceptionSizeOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptiontype - 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().public LTPhysicalMemory(Object type, long base, long size, Runnable logic) throws SecurityException, SizeOutOfBoundsException, OffsetOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException, MemoryInUseException
SecurityExceptionSizeOutOfBoundsExceptionOffsetOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptionMemoryInUseExceptiontype - 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().public LTPhysicalMemory(Object type, SizeEstimator size, Runnable logic) throws SecurityException, SizeOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException
SecurityExceptionSizeOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptiontype - 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().public LTPhysicalMemory(Object type, long base, SizeEstimator size, Runnable logic) throws SecurityException, SizeOutOfBoundsException, OffsetOutOfBoundsException, UnsupportedPhysicalMemoryException, MemoryTypeConflictException, MemoryInUseException
SecurityExceptionSizeOutOfBoundsExceptionOffsetOutOfBoundsExceptionUnsupportedPhysicalMemoryExceptionMemoryTypeConflictExceptionMemoryInUseExceptiontype - 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().public String toString()
toString in class ScopedMemoryaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2016 aicas GmbH. All Rights Reserved.