public ResultT extractLatestAttempted(){
  ArrayList<UpdateT> updates=new ArrayList<>(inflightAttempted.size() + 1);
synchronized (attemptedLock) {
    updates.add(finishedAttempted);
    updates.addAll(inflightAttempted.values());
  }
  return aggregation.extract(aggregation.combine(updates));
}

public ResultT extractLatestAttempted ( ) { ArrayList < UpdateT > updates = new ArrayList < > ( inflightAttempted . size ( ) + 1 ) ; synchronized ( attemptedLock ) { updates . add ( finishedAttempted ) ; updates . addAll ( inflightAttempted . values ( ) ) ; } return aggregation . extract ( aggregation . combine ( updates ) ) ; }
extract the latest values from all attempted and in - progress bundles .
