ostore.apps.test
Class TputMicroBenchmark

java.lang.Object
  |
  +--ostore.apps.test.TputMicroBenchmark
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class TputMicroBenchmark
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF

The TputMicroBenchmark stage, also called the test client, works with the TputMicroBenchmarkMaster, also caused the master, to benchmark the update throughput of the system. The TputMicroBenchmark performs the actual benchmarking. The TputMicroBenchmarkMaster directs the test. See TputMicroBenchmarkMaster for details about the test and the configuration parameters.

Version:
$Id: TputMicroBenchmark.java,v 1.28 2004/05/13 19:42:42 hweather Exp $
Author:
Patrick R. Eaton

Constructor Summary
TputMicroBenchmark()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF element)
           
 void handleEvents(QueueElementIF[] element_array)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TputMicroBenchmark

public TputMicroBenchmark()
Method Detail

handleEvent

public void handleEvent(QueueElementIF element)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

handleEvents

public void handleEvents(QueueElementIF[] element_array)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF
Exception