void () { synchronized (myLock) { eventsValidators.clear(); myIsInitialized.set(false); EventGroupRemoteDescriptors productionGroups = EventLogTestMetadataPersistence.loadCachedEventGroupsSchemes(myMetadataPersistence); EventGroupRemoteDescriptors testGroups = EventLogTestMetadataPersistence.loadCachedEventGroupsSchemes(myTestMetadataPersistence); final Map<String, EventGroupRules> result = createValidators(testGroups, productionGroups.rules); eventsValidators.putAll(result); myIsInitialized.set(true); } }