org.siebengeisslein.core
Class AddNodeTask

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

public class AddNodeTask
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
AddNodeTask(java.io.DataInput in, FreeBlockList fbl, BTreeNodeCache cache)
           
AddNodeTask(long start, FreeBlockList fbl, BTreeNodeCache cache)
           
 
Method Summary
 void commit(FlushThread flushThread)
           
 int getReuse()
           
 long getStart()
           
 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

AddNodeTask

public AddNodeTask(long start,
                   FreeBlockList fbl,
                   BTreeNodeCache cache)
            throws java.io.IOException
Throws:
java.io.IOException

AddNodeTask

public AddNodeTask(java.io.DataInput in,
                   FreeBlockList fbl,
                   BTreeNodeCache cache)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

write

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

getTaskSize

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

getStart

public long getStart()

getReuse

public int getReuse()

commit

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