aicas logoJamaica 6.4 release 1

javax.realtime
Class ImmortalPhysicalMemory

java.lang.Object
  extended by javax.realtime.MemoryArea
      extended by javax.realtime.ImmortalPhysicalMemory

public class ImmortalPhysicalMemory
extends MemoryArea

Jamaica Real-Time Specification for Java class ImmortalPhysicalMemory.

This memory area permits the allocation of objects in a memory area that has the same characteristics as ImmortalMemory but that lies in a range of memory of a predetermined type.


Field Summary
 
Fields inherited from class javax.realtime.MemoryArea
memoryAreaHeapLock
 
Constructor Summary
ImmortalPhysicalMemory(Object type, long size)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type and size.
ImmortalPhysicalMemory(Object type, long base, long size)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, and size.
ImmortalPhysicalMemory(Object type, long base, long size, Runnable logic)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, size, and logic.
ImmortalPhysicalMemory(Object type, long size, Runnable logic)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, size and logic.
ImmortalPhysicalMemory(Object type, long base, SizeEstimator size)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, and size.
ImmortalPhysicalMemory(Object type, long base, SizeEstimator size, Runnable logic)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, size, and logic.
ImmortalPhysicalMemory(Object type, SizeEstimator size)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type and size.
ImmortalPhysicalMemory(Object type, SizeEstimator size, Runnable logic)
          Constructor to create an instance of ImmortalPhysicalMemory with the given type, size, and logic.
 
Method Summary
 
Methods inherited from class javax.realtime.MemoryArea
clearMemory, createStackedMemory, enter, enter, executeInArea, freeStacked, getMemoryArea, memoryConsumed, memoryNeedsToBeCleared, memoryNeedsToBeFreed, memoryRemaining, newArray, newInstance, newInstance, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long size)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException
Constructor to create an instance of ImmortalPhysicalMemory with the given type and size.

Parameters:
type - The type or array of types of memory that is requested.
size - The size of the memory area in bytes.
Throws:
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long base,
                              long size)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              OffsetOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException,
                              MemoryInUseException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, and size.

Parameters:
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.
Throws:
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              SizeEstimator size)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException
Constructor to create an instance of ImmortalPhysicalMemory with the given type and size.

Parameters:
type - The type or array of types of memory that is requested.
size - The size of the memory area.
Throws:
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long base,
                              SizeEstimator size)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              OffsetOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException,
                              MemoryInUseException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, and size.

Parameters:
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.
Throws:
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long size,
                              Runnable logic)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, size and logic.

Parameters:
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().
Throws:
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long base,
                              long size,
                              Runnable logic)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              OffsetOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException,
                              MemoryInUseException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, size, and logic.

Parameters:
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().
Throws:
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              SizeEstimator size,
                              Runnable logic)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, size, and logic.

Parameters:
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().
Throws:
SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

ImmortalPhysicalMemory

public ImmortalPhysicalMemory(Object type,
                              long base,
                              SizeEstimator size,
                              Runnable logic)
                       throws SecurityException,
                              SizeOutOfBoundsException,
                              OffsetOutOfBoundsException,
                              UnsupportedPhysicalMemoryException,
                              MemoryTypeConflictException,
                              MemoryInUseException
Constructor to create an instance of ImmortalPhysicalMemory with the given type, base address, size, and logic.

Parameters:
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().
Throws:
SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.