/** * Method only returns if all available registries are synchronized. * * @throws CouldNotPerformException * @throws InterruptedException is thrown if thread is externally interrupted. */ public static void waitForData() throws CouldNotPerformException, InterruptedException { CachedUnitRegistryRemote.waitForData(); CachedAgentRegistryRemote.waitForData(); CachedAppRegistryRemote.waitForData(); CachedDeviceRegistryRemote.waitForData(); CachedLocationRegistryRemote.waitForData(); CachedSceneRegistryRemote.waitForData(); CachedUserRegistryRemote.waitForData(); CachedUserActivityRegistryRemote.waitForData(); }