Package com.db4o.internal
Interface DefragmentContext
- 
- All Superinterfaces:
- AspectVersionContext,- BufferContext,- Context,- HandlerVersionContext,- MarshallingInfo,- ReadBuffer
 - All Known Implementing Classes:
- DefragmentContextImpl
 
 public interface DefragmentContext extends BufferContext, MarshallingInfo, HandlerVersionContext 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SlotallocateMappedTargetSlot(int sourceAddress, int length)SlotallocateTargetSlot(int length)ObjectContainerBasecontainer()intcopyID()intcopyIDReturnOriginalID()intcopySlotlessID()intcopySlotToNewMapped(int sourceAddress, int length)intcopyUnindexedID()voiddefragment(TypeHandler4 handler)inthandlerVersion()voidincrementOffset(int length)booleanisLegacyHandlerVersion()intmappedID(int origID)DefragmentServicesservices()ByteArrayBuffersourceBuffer()ByteArrayBuffersourceBufferByAddress(int sourceAddress, int length)ByteArrayBuffersourceBufferById(int sourceId)ByteArrayBuffertargetBuffer()voidtargetWriteBytes(int address, ByteArrayBuffer buffer)TypeHandler4typeHandlerForId(int id)- 
Methods inherited from interface com.db4o.internal.marshall.AspectVersionContextdeclaredAspectCount, declaredAspectCount
 - 
Methods inherited from interface com.db4o.marshall.BufferContextbuffer
 - 
Methods inherited from interface com.db4o.marshall.ContextobjectContainer, transaction
 - 
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContextslotFormat
 - 
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfobeginSlot, buffer, classMetadata, isNull
 - 
Methods inherited from interface com.db4o.marshall.ReadBufferoffset, readBitMap, readByte, readBytes, readInt, readLong, seek
 
- 
 
- 
- 
- 
Method Detail- 
typeHandlerForIdTypeHandler4 typeHandlerForId(int id) 
 - 
copyIDint copyID() 
 - 
copyIDReturnOriginalIDint copyIDReturnOriginalID() 
 - 
copySlotlessIDint copySlotlessID() 
 - 
copyUnindexedIDint copyUnindexedID() 
 - 
defragmentvoid defragment(TypeHandler4 handler) 
 - 
handlerVersionint handlerVersion() - Specified by:
- handlerVersionin interface- HandlerVersionContext
 
 - 
incrementOffsetvoid incrementOffset(int length) 
 - 
isLegacyHandlerVersionboolean isLegacyHandlerVersion() 
 - 
mappedIDint mappedID(int origID) 
 - 
sourceBufferByteArrayBuffer sourceBuffer() 
 - 
targetBufferByteArrayBuffer targetBuffer() 
 - 
allocateTargetSlotSlot allocateTargetSlot(int length) 
 - 
allocateMappedTargetSlotSlot allocateMappedTargetSlot(int sourceAddress, int length) 
 - 
copySlotToNewMappedint copySlotToNewMapped(int sourceAddress, int length) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
sourceBufferByAddressByteArrayBuffer sourceBufferByAddress(int sourceAddress, int length) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
sourceBufferByIdByteArrayBuffer sourceBufferById(int sourceId) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
targetWriteBytesvoid targetWriteBytes(int address, ByteArrayBuffer buffer)
 - 
servicesDefragmentServices services() 
 - 
containerObjectContainerBase container() 
 
- 
 
-