edu.jas.kern
Class PreemptStatus

java.lang.Object
  extended by edu.jas.kern.PreemptStatus

public class PreemptStatus
extends java.lang.Object

PreemptStatus, defines global status for preemtive interruption handling.

Author:
Heinz Kredel

Constructor Summary
protected PreemptStatus()
          No public constructor.
 
Method Summary
static boolean isAllowed()
          isAllowed.
static void setAllow()
          setAllow, set preemtive interruption to allowed status.
static void setNotAllow()
          setNotAllow, set preemtive interruption to not allowed status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreemptStatus

protected PreemptStatus()
No public constructor.

Method Detail

isAllowed

public static boolean isAllowed()
isAllowed.

Returns:
true, preemtive interruption is allowed, else false.

setAllow

public static void setAllow()
setAllow, set preemtive interruption to allowed status.


setNotAllow

public static void setNotAllow()
setNotAllow, set preemtive interruption to not allowed status.