org.siebengeisslein.core
Class SetEntryTask

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

public class SetEntryTask
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
SetEntryTask(java.io.DataInput in, BTree btree, DataStoreImpl store, GCState gcState)
           
SetEntryTask(long objID, CoreEntry entry, BTree btree, DataStoreImpl store, GCState gcState, boolean isGCRunning)
           
 
Method Summary
 void commit(FlushThread flushThread)
           
 long getObjID()
           
 long getPos()
           
 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

SetEntryTask

public SetEntryTask(long objID,
                    CoreEntry entry,
                    BTree btree,
                    DataStoreImpl store,
                    GCState gcState,
                    boolean isGCRunning)
             throws java.io.IOException,
                    UnknownOIDException
Throws:
java.io.IOException
UnknownOIDException

SetEntryTask

public SetEntryTask(java.io.DataInput in,
                    BTree btree,
                    DataStoreImpl store,
                    GCState gcState)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getObjID

public long getObjID()

getPos

public long getPos()

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

commit

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