uk.ac.man.cs.rainbow.simulator
Class RASMThread.SavedRASMThreadState

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.simulator.RASMThread.SavedRASMThreadState
All Implemented Interfaces:
SavedState, Serializable
Enclosing class:
RASMThread

public static class RASMThread.SavedRASMThreadState
extends Object
implements SavedState

This thread's saved state. Includes the state of all the descendents of this thread as well.

See Also:
Serialized Form

Inner Class Summary
static class RASMThread.SavedRASMThreadState.This
          The portion of this thread's state that is most easily cached.
 
Method Summary
 void dispose()
          Dispose of any state held in this saved state.
 SavedState getState()
          Get the real saved state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getState

public SavedState getState()
Description copied from interface: SavedState
Get the real saved state. Note that this is required to allow for future expansion of the system to include a mechanism for cacheing states to disk to reduce peak memory consumption.
Specified by:
getState in interface SavedState

dispose

public void dispose()
Description copied from interface: SavedState
Dispose of any state held in this saved state. May be a null-op, but can be implemented to allow the VM to reclaim the memory (or any other held resources) sooner.
Specified by:
dispose in interface SavedState