ostore.cache
Class BDBTest

java.lang.Object
  |
  +--ostore.cache.BDBTest

public class BDBTest
extends Object

Test Berkeley DB's bandwidth.


Field Summary
static com.sleepycat.db.Db _blocks
           
static com.sleepycat.db.DbEnv _env
           
static com.sleepycat.db.Dbt bdata
           
static int block_size
           
static Random rand
           
static com.sleepycat.db.Dbt vkey
           
static byte[] vkey_bytes
           
 
Constructor Summary
BDBTest()
           
 
Method Summary
static void main(String[] args)
           
static void write_block()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_blocks

public static com.sleepycat.db.Db _blocks

_env

public static com.sleepycat.db.DbEnv _env

vkey

public static com.sleepycat.db.Dbt vkey

bdata

public static com.sleepycat.db.Dbt bdata

vkey_bytes

public static byte[] vkey_bytes

rand

public static Random rand

block_size

public static int block_size
Constructor Detail

BDBTest

public BDBTest()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Exception

write_block

public static void write_block()