javax.realtime
Class MemoryArea
java.lang.Object
|
+--javax.realtime.MemoryArea
- Direct Known Subclasses:
- HeapMemory, ImmortalMemory, ImmortalPhysicalMemory, ScopedMemory
- public abstract class MemoryArea
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryArea
protected MemoryArea(long sizeInBytes)
MemoryArea
protected MemoryArea(SizeEstimator size)
MemoryArea
protected MemoryArea(long sizeInBytes,
java.lang.Runnable logic)
MemoryArea
protected MemoryArea(SizeEstimator size,
java.lang.Runnable logic)
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
enter
public void enter()
throws ScopedCycleException
enter
public void enter(java.lang.Runnable logic)
throws ScopedCycleException
getMemoryArea
public static MemoryArea getMemoryArea(java.lang.Object object)
memoryConsumed
public long memoryConsumed()
memoryRemaining
public long memoryRemaining()
newArray
public java.lang.Object newArray(java.lang.Class type,
int number)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
newInstance
public java.lang.Object newInstance(java.lang.Class type)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
newInstance
public java.lang.Object newInstance(java.lang.reflect.Constructor c,
java.lang.Object[] args)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
size
public long size()
executeInArea
public void executeInArea(java.lang.Runnable logic)
throws InaccessibleAreaException
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.