org.databene.contiperf
Class ConcurrentRunner
java.lang.Object
org.databene.contiperf.ConcurrentRunner
- All Implemented Interfaces:
- Closeable, Runnable, InvocationRunner
public class ConcurrentRunner
- extends Object
- implements InvocationRunner
Runs several Runnable
s 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentRunner
public ConcurrentRunner(String name,
InvocationRunner[] runners,
int rampUp)
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.