org.siebengeisslein.core
Class CommitTask

java.lang.Object
  extended by org.siebengeisslein.core.Task
      extended by org.siebengeisslein.core.CommitTask

public class CommitTask
extends Task


Field Summary
 
Fields inherited from class org.siebengeisslein.core.Task
ADD_NODE_ID, COMMIT_ENTRY_ID, MAX_ID, REMOVE_ENTRY_ID, SET_ENTRY_ID
 
Constructor Summary
CommitTask(java.io.DataInput in)
           
CommitTask(long sortId)
           
 
Method Summary
 void commit(FlushThread flushThread)
           
 long getSortId()
           
 int getTaskSize()
           
 void write(java.nio.ByteBuffer buf)
           
 
Methods inherited from class org.siebengeisslein.core.Task
getID, markReferenced
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitTask

public CommitTask(long sortId)

CommitTask

public CommitTask(java.io.DataInput in)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

commit

public void commit(FlushThread flushThread)
            throws java.io.IOException,
                   UnknownOIDException
Specified by:
commit in class Task
Throws:
java.io.IOException
UnknownOIDException

write

public void write(java.nio.ByteBuffer buf)
           throws java.io.IOException
Specified by:
write in class Task
Throws:
java.io.IOException

getTaskSize

public int getTaskSize()
Specified by:
getTaskSize in class Task

getSortId

public long getSortId()