aicas logoJamaica 6.1 release 1

javax.realtime
Class VTPhysicalMemory

java.lang.Object
  extended by javax.realtime.MemoryArea
      extended by javax.realtime.ScopedMemory
          extended by javax.realtime.VTPhysicalMemory

public class VTPhysicalMemory
extends ScopedMemory

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.


Constructor Summary
VTPhysicalMemory(java.lang.Object type, long size)
          Constructor to create an instance of VTPhysicalMemory with the given type and size.
VTPhysicalMemory(java.lang.Object type, long base, long size)
          Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size.
VTPhysicalMemory(java.lang.Object type, long base, long size, java.lang.Runnable logic)
          Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size.
VTPhysicalMemory(java.lang.Object type, long size, java.lang.Runnable logic)
          Constructor to create an instance of VTPhysicalMemory with the given type and size.
VTPhysicalMemory(java.lang.Object type, long base, SizeEstimator size)
          Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size.
VTPhysicalMemory(java.lang.Object type, long base, SizeEstimator size, java.lang.Runnable logic)
          Constructor to create an instance of VTPhysicalMemory with the given type, base address, and size.
VTPhysicalMemory(java.lang.Object type, SizeEstimator size)
          Constructor to create an instance of VTPhysicalMemory with the given type and size.
VTPhysicalMemory(java.lang.Object type, SizeEstimator size, java.lang.Runnable logic)
          Constructor to create an instance of VTPhysicalMemory with the given type and size.
 
Method Summary
 java.lang.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
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

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long size)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException
Constructor to create an instance of VTPhysicalMemory 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:
java.lang.SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long base,
                        long size)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        OffsetOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException,
                        MemoryInUseException
Constructor to create an instance of VTPhysicalMemory 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:
java.lang.SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        SizeEstimator size)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException
Constructor to create an instance of VTPhysicalMemory 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:
java.lang.SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long base,
                        SizeEstimator size)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        OffsetOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException,
                        MemoryInUseException
Constructor to create an instance of VTPhysicalMemory 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:
java.lang.SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long size,
                        java.lang.Runnable logic)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException
Constructor to create an instance of VTPhysicalMemory 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.
logic - The default logic to be executed on a call to enter().
Throws:
java.lang.SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long base,
                        long size,
                        java.lang.Runnable logic)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        OffsetOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException,
                        MemoryInUseException
Constructor to create an instance of VTPhysicalMemory 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.
logic - The default logic to be executed on a call to enter().
Throws:
java.lang.SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        SizeEstimator size,
                        java.lang.Runnable logic)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException
Constructor to create an instance of VTPhysicalMemory 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.
logic - The default logic to be executed on a call to enter().
Throws:
java.lang.SecurityException
SizeOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException

VTPhysicalMemory

public VTPhysicalMemory(java.lang.Object type,
                        long base,
                        SizeEstimator size,
                        java.lang.Runnable logic)
                 throws java.lang.SecurityException,
                        SizeOutOfBoundsException,
                        OffsetOutOfBoundsException,
                        UnsupportedPhysicalMemoryException,
                        MemoryTypeConflictException,
                        MemoryInUseException
Constructor to create an instance of VTPhysicalMemory 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.
logic - The default logic to be executed on a call to enter().
Throws:
java.lang.SecurityException
SizeOutOfBoundsException
OffsetOutOfBoundsException
UnsupportedPhysicalMemoryException
MemoryTypeConflictException
MemoryInUseException
Method Detail

toString

public java.lang.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.

Overrides:
toString in class ScopedMemory
Returns:
a string representation of this.

aicas logoJamaica 6.1 release 1

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