com.caucho.db.block
Class BlockWriter

java.lang.Object
  extended by com.caucho.env.thread.AbstractTaskWorker
      extended by com.caucho.env.thread.TaskWorker
          extended by com.caucho.db.block.BlockWriter
All Implemented Interfaces:
java.lang.Runnable

public class BlockWriter
extends TaskWorker

Writer thread serializing dirty blocks.


Method Summary
 boolean isClosed()
           
protected  void onThreadComplete()
           
protected  void onThreadStart()
           
 long runTask()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.thread.TaskWorker
startWorkerThread
 
Methods inherited from class com.caucho.env.thread.AbstractTaskWorker
destroy, getCurrentTimeActual, getThreadName, isPermanent, isTaskActive, run, setLoopCount, setWorkerIdleTimeout, wake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isClosed

public boolean isClosed()
Overrides:
isClosed in class AbstractTaskWorker

runTask

public long runTask()
Specified by:
runTask in class AbstractTaskWorker

onThreadStart

protected void onThreadStart()
Overrides:
onThreadStart in class AbstractTaskWorker

onThreadComplete

protected void onThreadComplete()
Overrides:
onThreadComplete in class AbstractTaskWorker

toString

public java.lang.String toString()
Overrides:
toString in class AbstractTaskWorker