public void addMapping(int id, Object object) {
    // Store the mapping
    idToObject.put(id, object);
    objectToID.put(object, id);

    // increase the next canonical id the recovered id is higher than it.
    highestID = max(highestID, id);
  }
Add a mapping that we have recovered from disk
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/CanonicalIdHolder.java