com.sleepycat.je.rep.impl.node
Class LogFlusher.LogFlushTask
java.lang.Object
java.util.TimerTask
com.sleepycat.je.rep.impl.node.LogFlusher.LogFlushTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- LogFlusher
static class LogFlusher.LogFlushTask
- extends TimerTask
Method Summary |
void |
run()
Check the RepNode.currentCommitVLSN difference to see if there is
any dirty data between two actions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogFlusher.LogFlushTask
public LogFlusher.LogFlushTask(RepNode repNode)
run
public void run()
- Check the RepNode.currentCommitVLSN difference to see if there is
any dirty data between two actions. We only do the flush when there
exists dirty data.
The reason that why we only cares about the commit VLSN is those
unlogged uncommitted/abort transaction will be aborted during
recovery. It's useless to keep track of those VLSNs.
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
Copyright (c) 2004-2010 Oracle. All rights reserved.