aicas logo Realtime Java
Technology.

javax.realtime
Class ScopedMemory

java.lang.Object
  |
  +--javax.realtime.MemoryArea
        |
        +--javax.realtime.ScopedMemory
Direct Known Subclasses:
LTMemory, LTPhysicalMemory, VTMemory, VTPhysicalMemory

public abstract class ScopedMemory
extends MemoryArea


Field Summary
static javax.realtime.FinalizeNode lastFinalizeNode
           
 
Constructor Summary
ScopedMemory(long size)
           
ScopedMemory(long size, java.lang.Runnable r)
           
ScopedMemory(SizeEstimator size)
           
ScopedMemory(SizeEstimator size, java.lang.Runnable r)
           
 
Method Summary
 void enter()
           
 void enter(java.lang.Runnable logic)
           
 long getMaximumSize()
           
 java.lang.Object getPortal()
           
 int getReferenceCount()
           
 void join()
           
 void join(HighResolutionTime time)
           
 void joinAndEnter()
           
 void joinAndEnter(HighResolutionTime time)
           
 void joinAndEnter(java.lang.Runnable logic)
           
 void joinAndEnter(java.lang.Runnable logic, HighResolutionTime time)
           
 void setPortal(java.lang.Object object)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.realtime.MemoryArea
executeInArea, finalize, getMemoryArea, memoryConsumed, memoryRemaining, newArray, newInstance, newInstance, size
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lastFinalizeNode

public static javax.realtime.FinalizeNode lastFinalizeNode
Constructor Detail

ScopedMemory

public ScopedMemory(long size)

ScopedMemory

public ScopedMemory(long size,
                    java.lang.Runnable r)

ScopedMemory

public ScopedMemory(SizeEstimator size)

ScopedMemory

public ScopedMemory(SizeEstimator size,
                    java.lang.Runnable r)
Method Detail

enter

public void enter()
           throws ScopedCycleException
Overrides:
enter in class MemoryArea

enter

public void enter(java.lang.Runnable logic)
           throws ScopedCycleException
Overrides:
enter in class MemoryArea

getMaximumSize

public long getMaximumSize()

getPortal

public java.lang.Object getPortal()

setPortal

public void setPortal(java.lang.Object object)

getReferenceCount

public int getReferenceCount()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

join

public void join(HighResolutionTime time)
          throws java.lang.InterruptedException

join

public void join()
          throws java.lang.InterruptedException

joinAndEnter

public void joinAndEnter()
                  throws java.lang.InterruptedException,
                         ScopedCycleException

joinAndEnter

public void joinAndEnter(HighResolutionTime time)
                  throws java.lang.InterruptedException,
                         ScopedCycleException

joinAndEnter

public void joinAndEnter(java.lang.Runnable logic)
                  throws java.lang.InterruptedException,
                         ScopedCycleException

joinAndEnter

public void joinAndEnter(java.lang.Runnable logic,
                         HighResolutionTime time)
                  throws java.lang.InterruptedException,
                         ScopedCycleException

aicas logo Realtime Java
Technology.

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.