org.databene.contiperf
Class ConcurrentRunner

java.lang.Object
  extended by org.databene.contiperf.ConcurrentRunner
All Implemented Interfaces:
Closeable, Runnable, InvocationRunner

public class ConcurrentRunner
extends Object
implements InvocationRunner

Runs several Runnables concurrently. If a Throwable is encountered, execution of all threads is canceled.

Created: 15.04.2010 23:42:30

Since:
1.03
Author:
Volker Bergmann

Constructor Summary
ConcurrentRunner(String name, InvocationRunner[] runners, int rampUp)
           
 
Method Summary
 void close()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentRunner

public ConcurrentRunner(String name,
                        InvocationRunner[] runners,
                        int rampUp)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

close

public void close()
Specified by:
close in interface Closeable
Specified by:
close in interface InvocationRunner


Copyright © 2013. All Rights Reserved.