void (double newValue) { double oldValue = Double.longBitsToDouble(myFraction.getAndSet(Double.doubleToRawLongBits(newValue))); myProgressManager.updateTaskFraction(newValue - oldValue, myTaskWeight); }