bamboo.db
Class StorageManagerTest
java.lang.Object
bamboo.util.StandardStage
bamboo.db.StorageManagerTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
public class StorageManagerTest
- extends StandardStage
- implements SingleThreadedEventHandlerIF
A simple regression test for the StorageManager.
- Version:
- $Id: StorageManagerTest.java,v 1.19 2004/08/05 21:06:17 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
md
protected MessageDigest md
count
protected int count
now
protected long now
small_guid
protected BigInteger small_guid
StorageManagerTest
public StorageManagerTest()
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)
data_hash
protected byte[] data_hash(ByteBuffer data)
handleEvent
public void handleEvent(QueueElementIF item)
- Specified by:
handleEvent in interface EventHandlerIF- Overrides:
handleEvent in class StandardStage