uk.ac.soton.ecs.grimoires.test.concurrent
Class ConcurrentThread

java.lang.Object
  extended byjava.lang.Thread
      extended byuk.ac.soton.ecs.grimoires.test.concurrent.ConcurrentThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
WSDLThread

public abstract class ConcurrentThread
extends Thread


Field Summary
protected  GrimoiresProxy grimoiresProxy
           
protected  org.apache.log4j.Logger logger
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ConcurrentThread()
           
 
Method Summary
protected abstract  void operate()
           
 void run()
           
 void setGrimoiresProxy(GrimoiresProxy grimoiresProxy)
           
 void setIterations(int iterations)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

grimoiresProxy

protected GrimoiresProxy grimoiresProxy

logger

protected org.apache.log4j.Logger logger
Constructor Detail

ConcurrentThread

public ConcurrentThread()
Method Detail

setIterations

public void setIterations(int iterations)

setGrimoiresProxy

public void setGrimoiresProxy(GrimoiresProxy grimoiresProxy)
Parameters:
grimoiresProxy - The grimoiresProxy to set.

run

public void run()

operate

protected abstract void operate()