queryInputs(true);
}
private void queryInputs(final boolean initialRun) {
for (int i = 0; i < inputs.size(); i++) {
final DataflowReadChannel input = (DataflowReadChannel) inputs.get(i);
if (initialRun || !(input instanceof DataflowVariable)) {
input.getValAsync(i, this);
} else {
try {
values.put(i, input.getVal());
} catch (InterruptedException e) {
throw new IllegalStateException("couldn't read the value of a DataflowVariable inside an operator.", e);
}
}
}