Interface IDMapping

  • All Known Subinterfaces:
    DefragmentServices
    All Known Implementing Classes:
    DefragmentServicesImpl

    public interface IDMapping
    A mapping from db4o file source IDs/addresses to target IDs/addresses, used for defragmenting.
    • Method Detail

      • strictMappedID

        int strictMappedID​(int oldID)
                    throws MappingNotFoundException
        Returns:
        a mapping for the given id. if it does refer to a system handler or the empty reference (0), returns the given id.
        Throws:
        MappingNotFoundException - if the given id does not refer to a system handler or the empty reference (0) and if no mapping is found
      • mapIDs

        void mapIDs​(int oldID,
                    int newID,
                    boolean isClassID)