rabbit.nio
Class StatisticsCollector

java.lang.Object
  extended by rabbit.nio.StatisticsCollector
All Implemented Interfaces:
Runnable

public class StatisticsCollector
extends Object
implements Runnable

A class that executes one task and gathers information about the time spent and the success status of the task.

Author:
Robert Olofsson

Constructor Summary
StatisticsCollector(StatisticsHolder stats, Runnable realTask, TaskIdentifier ti)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsCollector

public StatisticsCollector(StatisticsHolder stats,
                           Runnable realTask,
                           TaskIdentifier ti)
Method Detail

run

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