|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.realtime.MemoryArea
javax.realtime.HeapMemory
public final class HeapMemory
Jamaica Real-Time Specification for Java class HeapMemory.
Heap memory represents the default allocation context for Java applications.
Field Summary |
---|
Fields inherited from class javax.realtime.MemoryArea |
---|
memoryAreaHeapLock |
Method Summary | |
---|---|
static HeapMemory |
instance()
instance returns the single instance of HeapMemory in the system. |
long |
memoryConsumed()
memoryConsumed returns the number of bytes of memory of this memory area that have been consumed. |
long |
memoryRemaining()
memoryRemaining returns the number of available bytes left in this memory area. |
Methods inherited from class javax.realtime.MemoryArea |
---|
clearMemory, createStackedMemory, enter, enter, executeInArea, freeStacked, getMemoryArea, memoryNeedsToBeCleared, memoryNeedsToBeFreed, newArray, newInstance, newInstance, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HeapMemory instance()
public long memoryRemaining()
memoryRemaining
in class MemoryArea
public long memoryConsumed()
memoryConsumed
in class MemoryArea
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |