|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.util.DbRunAction
public class DbRunAction
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(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbRunAction()
Method Detail |
---|
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |