.findById(Integer.toString(partition))
.orElse(new StateDocument(partition));
recordHandler.addPartition(partition, document.state);
+ for (String user : document.state.keySet())
+ {
+ log.info(
+ "{} - Restored state for partition={}|user={}: {}",
+ id,
+ partition,
+ user,
+ document.state.get(user));
+ }
adderResults.addPartition(partition, document.results);
});
}
for (String user : state.keySet())
{
log.info(
- "{} - Calculations for partition={}|user={}: {}",
+ "{} - Saved state for partition={}|user={}: {}",
id,
partition,
user,