Records a realm's hierarchy, shares it with the other processes and writes it to the store.
the realm, or the service scope
the hierarchy; null removes it everywhere
Records a realm's hierarchy, shares it with the other processes and writes it to the store.