boolean requestAll = getPropertyInfoMap(getComponentName(resource), id, propertyInfoMap);
for (Map.Entry<String, PropertyInfo> entry : propertyInfoMap.entrySet()) {
String propertyId = entry.getKey();
PropertyInfo propertyInfo = entry.getValue();
TemporalInfo temporalInfo = request.getTemporalInfo(id);
if ((temporalInfo == null && propertyInfo.isPointInTime()) || (temporalInfo != null && propertyInfo.isTemporal())) {
RRDRequest rrdRequest = requests.get(temporalInfo);
if (rrdRequest == null) {
rrdRequest = new RRDRequest(clusterName, temporalInfo);
requests.put(temporalInfo, rrdRequest);
}
rrdRequest.putResource(key, resource);
rrdRequest.putPropertyId(propertyInfo.getPropertyId(), propertyId);
rrdRequest.setRequestAllMetrics(requestAll);
}
}
}
}