public void record ( TaskInProgress tip , String host , long inputBytes ) { synchronized ( localityRecords ) { localityRecords . add ( new Record ( tip , host , inputBytes ) ) ; localityRecords . notify ( ) ; } }
Asynchronous update of locality .