com.sleepycat.je.util
Class DbRunAction

java.lang.Object
  extended by com.sleepycat.je.util.DbRunAction

public class DbRunAction
extends Object

DbRunAction is a debugging aid that can invoke a JE operation or background activity from the command line. batchClean calls Environment.cleanLog() in a loop compress calls Environment.compress evict calls Environment.preload, then evictMemory removeDb calls Environment.removeDatabase, but doesn't do any cleaning removeDbAndClean calls removeDatabase, then cleanLog in a loop activateCleaner wakes up the cleaner, and then the main thread waits until you type "y" to the console before calling Environment.close(). The control provide by the prompt is necessary for daemon activities because often threads check and bail out if the environment is closed.


Constructor Summary
DbRunAction()
           
 
Method Summary
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbRunAction

public DbRunAction()
Method Detail

main

public static void main(String[] argv)


Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.