Class JThread.stream.ShutdownException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JThread.stream.ShutdownException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----JThread.stream.ShutdownException

public class ShutdownException
extends Exception
ShutdownException is used to collect execution states of threads. It is internally used by the classfile processor and the JThread.stream package. The application program only need to declare it when calling checkStop.

Author:
Wei Tao
See Also:
ShutdownManager

Constructor Index

 o JThread.stream.ShutdownException()
 o JThread.stream.ShutdownException(boolean)

Method Index

 o isEmpty()
 o needBarrier(int)
This method tests whether a barrier is needed at the end of restart process.
 o popBoolean()
 o popByte()
 o popChar()
 o popDouble()
 o popFloat()
 o popInt()
 o popLong()
 o popObject()
 o popShort()
 o print()
 o push(byte)
 o push(char)
 o push(double)
 o push(float)
 o push(int)
 o push(long)
 o push(Object)
 o push(short)
 o push(boolean)

Constructors

 o ShutdownException
public ShutdownException()
 o ShutdownException
public ShutdownException(boolean s)

Methods

 o isEmpty
public boolean isEmpty()
 o needBarrier
public boolean needBarrier(int remaining)
This method tests whether a barrier is needed at the end of restart process. This method is only used by the classfile processor.

 o popBoolean
public boolean popBoolean()
 o popByte
public byte popByte()
 o popChar
public char popChar()
 o popDouble
public double popDouble()
 o popFloat
public float popFloat()
 o popInt
public int popInt()
 o popLong
public long popLong()
 o popObject
public java.lang.Object popObject()
 o popShort
public short popShort()
 o print
public void print()
 o push
public void push(byte o)
 o push
public void push(char o)
 o push
public void push(double o)
 o push
public void push(float o)
 o push
public void push(int o)
 o push
public void push(long o)
 o push
public void push(Object o)
 o push
public void push(short o)
 o push
public void push(boolean o)

All Packages  Class Hierarchy  This Package  Previous  Next  Index