javax.realtime
Class HeapMemory

java.lang.Object
  extended byjavax.realtime.MemoryArea
      extended byjavax.realtime.HeapMemory

public final class HeapMemory
extends MemoryArea

The HeapMemory class is a singleton object that allows logic within other scoped memory to allocate objects in the Java heap.

Author:
Angelo Corsaro, Morgan Deters

Field Summary
 
Fields inherited from class javax.realtime.MemoryArea
logic, parent, sizeInBytes
 
Method Summary
static HeapMemory instance()
          Returns a reference to the singleton HeapMemory space.
 
Methods inherited from class javax.realtime.MemoryArea
enter, enter, executeInArea, finalize, getMemoryArea, guardedRun, memoryConsumed, memoryRemaining, newArray, newInstance, newInstance, size
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static HeapMemory instance()
Returns a reference to the singleton HeapMemory space.

Returns:
The singleton HeapMemory object.


jRate is developed and maintained by the jRate project development team.
Copyright (c) 2001-2006 Angelo Corsaro and Morgan Deters.