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 Detail

      • sourceBufferByAddress

        ByteArrayBuffer sourceBufferByAddress​(int address,
                                              int length)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • targetBufferByAddress

        ByteArrayBuffer targetBufferByAddress​(int address,
                                              int length)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • allocateTargetSlot

        Slot allocateTargetSlot​(int targetLength)
      • targetWriteBytes

        void targetWriteBytes​(ByteArrayBuffer targetPointerReader,
                              int targetAddress)
      • traverseAllIndexSlots

        void traverseAllIndexSlots​(BTree tree,
                                   Visitor4 visitor4)
      • classMetadataForId

        ClassMetadata classMetadataForId​(int id)
      • mappedID

        int mappedID​(int id)
      • registerUnindexed

        void registerUnindexed​(int id)
      • sourceAddressByID

        int sourceAddressByID​(int sourceID)
      • targetAddressByID

        int targetAddressByID​(int sourceID)
      • targetNewId

        int targetNewId()
      • commitIds

        void commitIds()