cz.cuni.amis.utils.test
Class Concurrent<CONTEXT extends TestContext>

Package class diagram package Concurrent
java.lang.Object
  extended by cz.cuni.amis.utils.test.Concurrent<CONTEXT>
All Implemented Interfaces:
ContextRunnable<CONTEXT>
Direct Known Subclasses:
ConcurrentBot

public class Concurrent<CONTEXT extends TestContext>
extends Object
implements ContextRunnable<CONTEXT>


Field Summary
protected  ContextRunnable tester
           
 
Constructor Summary
Concurrent(int threads, ContextRunnable tester)
           
 
Method Summary
protected  Runnable newTest(CONTEXT ctx)
           
 void run(CONTEXT ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tester

protected final ContextRunnable tester
Constructor Detail

Concurrent

public Concurrent(int threads,
                  ContextRunnable tester)
Method Detail

newTest

protected Runnable newTest(CONTEXT ctx)

run

public void run(CONTEXT ctx)
Specified by:
run in interface ContextRunnable<CONTEXT extends TestContext>


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.