Class DeferredIndexUpdates

All Implemented Interfaces:
Serializable, Cloneable, Map<FSIndexRepositoryImpl,List<TOP>>

class DeferredIndexUpdates extends IdentityHashMap<FSIndexRepositoryImpl,List<TOP>>
for XCAS and XMI deserialization, need to remember what's being added to the indexes and/or removed, because the actual FSs are not yet "fixed up" (adjusted for reference id's → actual addresses, including the sofa refs) for non-delta updates. Workaround (2014) is to remember the information, and do the adds / removes after the fixups. The information to be remembered is: 1) the View reference (a ref to the FSIndexRepository a) for each of these, the list of FSaddrs to be added or removed The list of FSaddrs ought to be a set with no duplicates, but because it could be sourced from a hand-edited source, we cannot depend on that so we store the list as a "set" to prevent duplicates. The remove operation only removes 1 instance (in case multiple instances of the same FS are in the indexes). Currently only used by XMI deserialization Constructor - done by caller - constructs IdentityHashMap
  • Constructor Details

    • DeferredIndexUpdates

      DeferredIndexUpdates()
  • Method Details