protected boolean isDependingOnConsistentRegistries ( ) { dependingRegistryMapLock . readLock ( ) . lock ( ) ; try { return dependingRegistryMap . keySet ( ) . stream ( ) . noneMatch ( ( registry ) - > ( ! registry . isConsistent ( ) ) ) ; } finally { dependingRegistryMapLock . readLock ( ) . unlock ( ) ; } }
If this registry depends on other registries this method can be used to tell this registry if all depending registries are consistent .