JADE v6.1

com.dautelle.realtime
Class HeapContext

java.lang.Object
  extended bycom.dautelle.realtime.Context
      extended bycom.dautelle.realtime.HeapContext

public final class HeapContext
extends Context

This class represents a heap context; it is used to allocate objects from the heap exclusively (normal thread default).

Version:
5.0, August 17, 2003
Author:
Jean-Marie Dautelle

Method Summary
static void enter()
          Enters a HeapContext.
static void exit()
          Exits the current HeapContext.
 
Methods inherited from class com.dautelle.realtime.Context
current, getInner, getOuter, getOwner, pop, push, push
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

enter

public static void enter()
Enters a HeapContext.


exit

public static void exit()
Exits the current HeapContext.

Throws:
java.lang.ClassCastException - if the current context is not a heap context.
java.lang.UnsupportedOperationException - if the current context is the root context.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.