Package com.db4o.defragment
Class FirstPassCommand
- java.lang.Object
-
- com.db4o.defragment.FirstPassCommand
-
public final class FirstPassCommand extends java.lang.Object
First step in the defragmenting process: Allocates pointer slots in the target file for each ID (but doesn't fill them in, yet) and registers the mapping from source pointer address to target pointer address.
-
-
Constructor Summary
Constructors Constructor Description FirstPassCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush(DefragmentServicesImpl context)
void
processBTree(DefragmentServicesImpl context, BTree btree)
void
processClass(DefragmentServicesImpl context, ClassMetadata classMetadata, int id, int classIndexID)
void
processClassCollection(DefragmentServicesImpl context)
void
processObjectSlot(DefragmentServicesImpl context, ClassMetadata classMetadata, int sourceID)
-
-
-
Method Detail
-
processClass
public void processClass(DefragmentServicesImpl context, ClassMetadata classMetadata, int id, int classIndexID)
-
processObjectSlot
public void processObjectSlot(DefragmentServicesImpl context, ClassMetadata classMetadata, int sourceID)
-
processClassCollection
public void processClassCollection(DefragmentServicesImpl context) throws CorruptionException
- Throws:
CorruptionException
-
processBTree
public void processBTree(DefragmentServicesImpl context, BTree btree)
-
flush
public void flush(DefragmentServicesImpl context)
-
-