AbstractTransaction shortest = CollectionUtil.last(this.work_queue);
for (AbstractTransaction ts : this.work_queue) {
final long remaining = (ts == shortest ? 10 : 1000);
EstimatorState state = new EstimatorState(catalogContext) {
{
MockEstimate est = new MockEstimate(remaining);
this.addEstimate(est);
}
};
ts.setEstimatorState(state);
} // FOR