boolean hasPreparedData = false;
while (!interrupted && iCacheValues.hasNext()) {
NameValue<String,Data> nameValue = iCacheValues.next();
String name = nameValue.name;
Data value = nameValue.value;
// get timestamp
long cacheValueTimestamp = value.getTimestamp();
// break out of loop if "till" timestamp is reached
if (cacheValueTimestamp >= tillTimestamp) {
iCacheValues.previous();
break;
}
// correct timestamp reference
cacheValueTimestamp += (startTimestamp - hash.getClearHistoryTimestamp());
value.setTimestamp(cacheValueTimestamp);
if (previousCacheValueTimestamp == 0) {
previousCacheValueTimestamp = cacheValueTimestamp;
}
if (cacheValueTimestamp == previousCacheValueTimestamp) {