java.lang.isolate
Class Isolate
java.lang.Object
|
+--java.lang.isolate.Isolate
- public final class Isolate
- extends java.lang.Object
- Author:
- Pat Tullmann
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Isolate
public Isolate(java.lang.String mainClass,
java.lang.String[] mainArgs)
throws IsolateStartupException
Isolate
public Isolate(java.lang.String mainClass,
java.lang.String[] mainArgs,
java.util.prefs.TransientPreferences context,
IsolateMessage stdin,
IsolateMessage stdout,
IsolateMessage stderr)
throws IsolateStartupException
start
public void start(IsolateMessage[] messages)
throws java.lang.IllegalStateException,
IsolateStartupException
currentIsolateIOBindings
public static IsolateMessage[] currentIsolateIOBindings()
currentIsolateStartMessages
public static IsolateMessage[] currentIsolateStartMessages()
- Retrieve the available IsolateMessage objects for the currently running isolate.
exit
public void exit(int status)
throws java.lang.SecurityException,
java.lang.IllegalStateException
- Equivalent to this Isolate calling Runtime.exit() or System.exit.
- Parameters:
Termination
- status. By convention, a nonzero status code indicates abnormal termination.- Throws:
java.lang.SecurityException
- if security policy does not permit
exiting this Isolate.java.lang.IllegalStateException
- if this isolate is terminated
halt
public void halt(int status)
throws java.lang.SecurityException,
java.lang.IllegalStateException
newEventLink
public Link newEventLink()
throws ClosedLinkException
hasStarted
public boolean hasStarted()
hasExited
public boolean hasExited()
hasTerminated
public boolean hasTerminated()
currentIsolate
public static Isolate currentIsolate()
currentIsolateContext
public static java.util.prefs.TransientPreferences currentIsolateContext()
hashCode
public int hashCode()
- Returns the hashcode for this Isolate
- Overrides:
hashCode
in class java.lang.Object
- Returns:
- the hashcode
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
finalize
protected void finalize()
- Drop the ref count in the global status map when the
Isolate handle is collected.
If finalizer is invoked on a never-started isolate, then
clean up the team.
- Overrides:
finalize
in class java.lang.Object
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