org.jppf.server.scheduler.bundle.impl
Class NodeSimulator.SimulatorTask
java.lang.Object
org.jppf.server.scheduler.bundle.impl.NodeSimulator.SimulatorTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- NodeSimulator
public static class NodeSimulator.SimulatorTask
- extends Object
- implements Runnable
Instances of this class enable testing a load-balancing alogrithm on a simulated node.
|
Method Summary |
void |
run()
Run this task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeSimulator.SimulatorTask
public NodeSimulator.SimulatorTask(Bundler bundler,
double sizeMB,
int nbTasks,
long timePerTask,
NodeSimulator simulator)
- Simulate the execution of a set of tasks.
- Parameters:
bundler - the bundler to send the resulting statistics to.sizeMB - the size in megabytes of the data that is transferred.nbTasks - the number of simulated tasks.timePerTask - the simulated execution time for each task.simulator - the node simulator.
run
public void run()
- Run this task.
- Specified by:
run in interface Runnable
- See Also:
Runnable.run()
Copyright © 2005-2010 JPPF Team.