com.sentilla.system
Class Isolate

java.lang.Object
  extended by java.lang.ThreadGroup
      extended by com.sentilla.system.Isolate

public class Isolate
extends ThreadGroup

Private: For Sentilla internal use only.


Field Summary
 
Fields inherited from class java.lang.ThreadGroup
head, name
 
Constructor Summary
Isolate(Binary bin)
           
 
Method Summary
protected  boolean containsThread(Thread t)
           
 ThreadGroup currentGroup()
          Gets the current isolate context.
static Isolate currentIsolate()
           
 void exit(int code)
          Stop the isolate.
 Binary getBinary()
           
 int getChildThreadCount()
          Gets the number of child threads of this isolate.
static Isolate getCurrentIsolate()
           
static Enumeration getIsolates()
           
static UncaughtExceptionHandler getUncaughtExceptionHandler()
           
static void handleUncaughtException()
           
 boolean isAlive()
          Determines if this isolate has been (re)started and not yet (re)hibernated or exited.
static void setUncaughtExceptionHandler(UncaughtExceptionHandler h)
           
 void start()
           
 
Methods inherited from class java.lang.ThreadGroup
add, currentThreadGroup, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Isolate

public Isolate(Binary bin)
Method Detail

handleUncaughtException

public static void handleUncaughtException()

setUncaughtExceptionHandler

public static void setUncaughtExceptionHandler(UncaughtExceptionHandler h)

getUncaughtExceptionHandler

public static UncaughtExceptionHandler getUncaughtExceptionHandler()

getBinary

public Binary getBinary()

currentGroup

public ThreadGroup currentGroup()
Gets the current isolate context.


currentIsolate

public static Isolate currentIsolate()

getIsolates

public static Enumeration getIsolates()

start

public void start()

exit

public void exit(int code)
Stop the isolate.


getChildThreadCount

public int getChildThreadCount()
Gets the number of child threads of this isolate.


isAlive

public boolean isAlive()
Determines if this isolate has been (re)started and not yet (re)hibernated or exited.


containsThread

protected boolean containsThread(Thread t)

getCurrentIsolate

public static Isolate getCurrentIsolate()


Copyright © 2007 Sentilla Corporation. All Rights Reserved.