synchronized double cubicSuccess(double timestamp) {
        double dt = timestamp - lastThrottleTime;
        double calculatedRate = SCALE_CONSTANT * Math.pow(dt - timeWindow, 3) + lastMaxRate;
        return calculatedRate;
    }
<pre>
_CUBICSuccess(timestamp)
  dt = timestamp - last_throttle_time
  calculated_rate = (SCALE_CONSTANT * ((dt - _time_window) ^ 3)) + last_max_rate
  return calculated_rate
</pre>
aws-java-sdk-core/src/main/java/com/amazonaws/internal/TokenBucket.java