| 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
checkpoint calls Environment.checkpoint() with force=true
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 provided by the prompt is necessary for daemon activities
because often threads check and bail out if the environment is closed.
|