tppt.xopen
Class TwoPhaseController.Worker

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--tppt.xopen.TwoPhaseController.Worker
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
TwoPhaseController

class TwoPhaseController.Worker
extends java.lang.Thread

The Worker class.


Field Summary
private  APInterface ap
           
private  boolean isAlive
           
private  int status
           
protected  java.lang.Object syncObj
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
(package private) TwoPhaseController.Worker(APInterface ap)
           
 
Method Summary
 int getStatus()
           
 void run()
           
 void setStatus(int s)
           
 void terminate()
           
 void wakeUp()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ap

private APInterface ap

status

private int status

isAlive

private boolean isAlive

syncObj

protected java.lang.Object syncObj
Constructor Detail

TwoPhaseController.Worker

TwoPhaseController.Worker(APInterface ap)
Method Detail

getStatus

public int getStatus()

setStatus

public void setStatus(int s)

run

public void run()
Overrides:
run in class java.lang.Thread

terminate

public void terminate()

wakeUp

public void wakeUp()