ostore.cache
Class StorageManagerTest

java.lang.Object
  |
  +--ostore.cache.StorageManagerTest
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class StorageManagerTest
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF


Field Summary
protected  Classifier _classifier
           
protected  Object _id
           
protected  int _init_puts
           
protected  int _put_size
           
protected  Random _rand
           
protected  int _recv
           
protected  long _start_time
           
protected  boolean _test_phase
           
protected  int _test_puts
           
 
Constructor Summary
StorageManagerTest()
           
 
Method Summary
protected static void BUG(String msg)
           
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
protected  void send_new_put()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_id

protected Object _id

_classifier

protected Classifier _classifier

_rand

protected Random _rand

_recv

protected int _recv

_init_puts

protected int _init_puts

_test_puts

protected int _test_puts

_put_size

protected int _put_size

_start_time

protected long _start_time

_test_phase

protected boolean _test_phase
Constructor Detail

StorageManagerTest

public StorageManagerTest()
Method Detail

init

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

handleEvent

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

handleEvents

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

destroy

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

send_new_put

protected void send_new_put()

BUG

protected static final void BUG(String msg)