Restoring shared probe references

A laboratory saves its probe objects separately from its monitoring groups. Each probe record has a unique identifier. A saved morning group lists probe identifiers P4 and P9, while a saved evening group lists P9. Both groups aggregate independently managed probes.


During restoration, both occurrences of P9 must resolve to the same restored probe instance. The saved data are valid: every group member identifier has exactly one corresponding probe record.


Arrange the phases of the procedure below in dependency order. Each phase must finish before the next begins, and the application receives the rebuilt groups only after the final identity check.

  1. 1.

    Check that repeated identifiers across groups designate the same instance, then return the rebuilt groups to the application.

  2. 2.

    Create one probe object per saved probe record and populate a lookup from each identifier to its object.

  3. 3.

    Resolve every group's saved member identifiers through the completed lookup, producing temporary lists of probe references.

  4. 4.

    Construct the monitoring group objects using the completed temporary lists as their member collections.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Aggregation Questions: