bamboo.dmgr
Class DataManagerTest
java.lang.Object
bamboo.util.StandardStage
bamboo.dmgr.DataManagerTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
public class DataManagerTest
- extends StandardStage
- implements SingleThreadedEventHandlerIF
A simple regression test for the DataManager.
- Version:
- $Id: DataManagerTest.java,v 1.23 2004/11/14 20:13:45 srhea Exp $
- Author:
- Sean C. Rhea
| Methods inherited from class bamboo.util.StandardStage |
BUG, BUG, BUG, config_get_boolean, config_get_double, config_get_int, config_get_string, configGetInt, destroy, dispatch, enqueue, handleEvents, lookup_stage, now_ms, timer_ms |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rand
protected Random rand
to_put
protected int to_put
put_size
protected int put_size
DataManagerTest
public DataManagerTest()
throws Exception
- Throws:
Exception
init
public void init(ConfigDataIF config)
throws Exception
- Specified by:
init in interface EventHandlerIF- Overrides:
init in class StandardStage
- Throws:
Exception
random_guid
public BigInteger random_guid()
random_data
protected ByteBuffer random_data(int size)
do_put
protected void do_put(int ttl_sec)
handleEvent
public void handleEvent(QueueElementIF item)
- Specified by:
handleEvent in interface EventHandlerIF- Overrides:
handleEvent in class StandardStage
print_data
protected void print_data()
handle_get_by_time_resp
protected void handle_get_by_time_resp(StorageManager.GetByTimeResp resp)
handle_get_by_guid_resp
protected void handle_get_by_guid_resp(StorageManager.GetByGuidResp resp)