RecoverTester

A tool that simulates a crash while writing to the database, and then verifies the database doesn't get corrupt.

Methods
static RecoverTester getInstance()
static RecoverTester getInstance()
static void init(String recoverTest)
Initialize the recover test.
static void init(String recoverTest)
Initialize the recover test.
Parameters:
recoverTest - the value of the recover test parameter
void log(int op, String fileName, byte[] data, long x)
void log(int op, String fileName, byte[] data, long x)
void setTestEvery(int testEvery)
void setTestEvery(int testEvery)