ProgramixGenericLib v5.0.1

com.programix.testing
Class AbstractRegression.BackgroundHelper

java.lang.Object
  extended by com.programix.testing.AbstractRegression.BackgroundHelper
Enclosing class:
AbstractRegression

protected abstract class AbstractRegression.BackgroundHelper
extends Object


Field Summary
protected  long initialDelay
           
protected  Thread internalThread
           
protected  String name
           
protected  boolean noStopRequested
           
 
Constructor Summary
protected AbstractRegression.BackgroundHelper(long initialDelay, String name)
           
 
Method Summary
protected  void go()
           
protected abstract  void runBody()
           
 void stopRequest()
           
 void waitUntilStopped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initialDelay

protected final long initialDelay

name

protected final String name

internalThread

protected Thread internalThread

noStopRequested

protected volatile boolean noStopRequested
Constructor Detail

AbstractRegression.BackgroundHelper

protected AbstractRegression.BackgroundHelper(long initialDelay,
                                              String name)
Method Detail

go

protected void go()

runBody

protected abstract void runBody()
                         throws InterruptedException
Throws:
InterruptedException

stopRequest

public void stopRequest()

waitUntilStopped

public void waitUntilStopped()
                      throws InterruptedException
Throws:
InterruptedException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.