Package com.db4o.defragment
Interface DefragmentServices
- 
- All Superinterfaces:
- IDMapping
 - All Known Implementing Classes:
- DefragmentServicesImpl
 
 public interface DefragmentServices extends IDMapping Encapsulates services involving source and target database files during defragmenting.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SlotallocateTargetSlot(int targetLength)ClassMetadataclassMetadataForId(int id)voidcommitIds()intmappedID(int id)IdMappingmapping()voidregisterBTreeIDs(BTree tree, IDMappingCollector collector)voidregisterUnindexed(int id)intsourceAddressByID(int sourceID)ByteArrayBuffersourceBufferByAddress(int address, int length)ByteArrayBuffersourceBufferByID(int sourceID)TransactionsystemTrans()inttargetAddressByID(int sourceID)ByteArrayBuffertargetBufferByAddress(int address, int length)inttargetNewId()voidtargetWriteBytes(ByteArrayBuffer targetPointerReader, int targetAddress)voidtargetWriteBytes(DefragmentContextImpl context, int targetAddress)voidtraverseAllIndexSlots(BTree tree, Visitor4 visitor4)IdSourceunindexedIDs()- 
Methods inherited from interface com.db4o.internal.mapping.IDMappingmapIDs, strictMappedID
 
- 
 
- 
- 
- 
Method Detail- 
sourceBufferByAddressByteArrayBuffer sourceBufferByAddress(int address, int length) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
targetBufferByAddressByteArrayBuffer targetBufferByAddress(int address, int length) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
sourceBufferByIDByteArrayBuffer sourceBufferByID(int sourceID) 
 - 
allocateTargetSlotSlot allocateTargetSlot(int targetLength) 
 - 
targetWriteBytesvoid targetWriteBytes(ByteArrayBuffer targetPointerReader, int targetAddress) 
 - 
systemTransTransaction systemTrans() 
 - 
targetWriteBytesvoid targetWriteBytes(DefragmentContextImpl context, int targetAddress) 
 - 
registerBTreeIDsvoid registerBTreeIDs(BTree tree, IDMappingCollector collector) 
 - 
classMetadataForIdClassMetadata classMetadataForId(int id) 
 - 
mappedIDint mappedID(int id) 
 - 
registerUnindexedvoid registerUnindexed(int id) 
 - 
unindexedIDsIdSource unindexedIDs() 
 - 
sourceAddressByIDint sourceAddressByID(int sourceID) 
 - 
targetAddressByIDint targetAddressByID(int sourceID) 
 - 
targetNewIdint targetNewId() 
 - 
mappingIdMapping mapping() 
 - 
commitIdsvoid commitIds() 
 
- 
 
-