JanosVM v1.0 API

java.lang.isolate
Class IsolateState

java.lang.Object
  |
  +--java.lang.isolate.IsolateState

class IsolateState
extends java.lang.Object

State of an Isolate. Kept in the IsolateBackEnd where it is the "true" state of the Isolate. Also stored in Handles where it may be not always be correct, but it always is a "minimum" state for the real Isolate. (I.e., a handle may say "RUNNING", but the actual Isolate could be DYING or DEAD or gone completely, but not INVALID or NEWBORN.)


Field Summary
(package private) static IsolateState DEAD
           
(package private) static IsolateState DYING
           
private  int id
           
(package private) static IsolateState INVALID
           
private  java.lang.String name
           
(package private) static IsolateState NEWBORN
           
(package private) static IsolateState RUNNING
           
(package private) static IsolateState STARTING
           
 
Constructor Summary
private IsolateState(int id, java.lang.String name)
           
 
Method Summary
(package private)  boolean atLeast(IsolateState other)
           
(package private)  boolean comesAfter(IsolateState other)
           
(package private)  boolean comesBefore(IsolateState other)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Field Detail

name

private final java.lang.String name

id

private final int id

INVALID

static final IsolateState INVALID

NEWBORN

static final IsolateState NEWBORN

STARTING

static final IsolateState STARTING

RUNNING

static final IsolateState RUNNING

DYING

static final IsolateState DYING

DEAD

static final IsolateState DEAD
Constructor Detail

IsolateState

private IsolateState(int id,
                     java.lang.String name)
Method Detail

atLeast

boolean atLeast(IsolateState other)

comesAfter

boolean comesAfter(IsolateState other)

comesBefore

boolean comesBefore(IsolateState other)

toString

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

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003