com.sleepycat.je.rep.impl.node
Class LogFlusher.LogFlushTask

java.lang.Object
  extended by java.util.TimerTask
      extended by com.sleepycat.je.rep.impl.node.LogFlusher.LogFlushTask
All Implemented Interfaces:
Runnable
Enclosing class:
LogFlusher

static class LogFlusher.LogFlushTask
extends TimerTask


Constructor Summary
LogFlusher.LogFlushTask(RepNode repNode)
           
 
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.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFlusher.LogFlushTask

public LogFlusher.LogFlushTask(RepNode repNode)
Method Detail

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-2012 Oracle. All rights reserved.