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 Summary
All 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.AspectVersionContext
declaredAspectCount, declaredAspectCount
-
Methods inherited from interface com.db4o.marshall.BufferContext
buffer
-
Methods inherited from interface com.db4o.marshall.Context
objectContainer, transaction
-
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContext
slotFormat
-
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfo
beginSlot, buffer, classMetadata, isNull
-
Methods inherited from interface com.db4o.marshall.ReadBuffer
offset, readBitMap, readByte, readBytes, readInt, readLong, seek
-
-
-
-
Method Detail
-
typeHandlerForId
TypeHandler4 typeHandlerForId(int id)
-
copyID
int copyID()
-
copyIDReturnOriginalID
int copyIDReturnOriginalID()
-
copySlotlessID
int copySlotlessID()
-
copyUnindexedID
int copyUnindexedID()
-
defragment
void defragment(TypeHandler4 handler)
-
handlerVersion
int handlerVersion()
- Specified by:
handlerVersionin interfaceHandlerVersionContext
-
incrementOffset
void incrementOffset(int length)
-
isLegacyHandlerVersion
boolean isLegacyHandlerVersion()
-
mappedID
int mappedID(int origID)
-
sourceBuffer
ByteArrayBuffer sourceBuffer()
-
targetBuffer
ByteArrayBuffer targetBuffer()
-
allocateTargetSlot
Slot allocateTargetSlot(int length)
-
allocateMappedTargetSlot
Slot allocateMappedTargetSlot(int sourceAddress, int length)
-
copySlotToNewMapped
int copySlotToNewMapped(int sourceAddress, int length) throws java.io.IOException- Throws:
java.io.IOException
-
sourceBufferByAddress
ByteArrayBuffer sourceBufferByAddress(int sourceAddress, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
sourceBufferById
ByteArrayBuffer sourceBufferById(int sourceId) throws java.io.IOException
- Throws:
java.io.IOException
-
targetWriteBytes
void targetWriteBytes(int address, ByteArrayBuffer buffer)
-
services
DefragmentServices services()
-
container
ObjectContainerBase container()
-
-