for (final String downstreamId : metadataDependencyRegistry.getDownstream(metadataId)) { sb.append("Downstream : ").append(downstreamId).append(LINE_SEPARATOR); for (final String downstreamId : metadataDependencyRegistry.getDownstream(mdClassId)) { sb.append("Downstream : ").append(downstreamId).append(" (via MD class)") .append(LINE_SEPARATOR);
@Override public void evict(final String metadataIdentificationString) { synchronized (lock) { // Clear my own cache (which also verifies the argument is valid at // the same time) super.evict(metadataIdentificationString); // Finally, evict downstream dependencies (ie metadata that // previously depended on this now-evicted metadata) MetadataDependencyRegistry registry = this.registryTracker.getService(); for (final String downstream : registry.getDownstream(metadataIdentificationString)) { // We only need to evict if it is an instance, as only an // instance will ever go into the cache if (MetadataIdentificationUtils.isIdentifyingInstance(downstream)) { evict(downstream); } } } }
if (getMetadataDependencyRegistry().getDownstream(upstreamDependency).contains( downstreamDependency)) { return;
for (final String downstreamId : metadataDependencyRegistry.getDownstream(metadataId)) { sb.append("Downstream : ").append(downstreamId).append(LINE_SEPARATOR); for (final String downstreamId : metadataDependencyRegistry.getDownstream(mdClassId)) { sb.append("Downstream : ").append(downstreamId).append(" (via MD class)") .append(LINE_SEPARATOR);
if (getMetadataDependencyRegistry().getDownstream(upstreamDependency).contains( downstreamDependency)) { return;
if (getMetadataDependencyRegistry().getDownstream( upstreamDependency).contains(downstreamDependency)) { return;
if (getMetadataDependencyRegistry().getDownstream( upstreamDependency).contains(downstreamDependency)) { return;
if (metadataDependencyRegistry.getDownstream(upstreamDependency) .contains(downstreamDependency)) { return;
if (getMetadataDependencyRegistry().getDownstream( upstreamDependency).contains(downstreamDependency)) { return;
.getDownstream( getGovernorPhysicalTypeIdentifier(metadataIdentificationString)); for (String downstreamId : dependentsOfJpa) {