synchronized void calculateTimeWindow() {
        timeWindow = Math.pow((lastMaxRate * (1 - BETA)) / SCALE_CONSTANT, 1.0 / 3);
    }
<pre>
_CalculateTimeWindow()
  # This is broken out into a separate calculation because it only
  # gets updated when last_max_rate change so it can be cached.
  _time_window = ((last_max_rate * (1 - BETA)) / SCALE_CONSTANT) ^ (1 / 3)
</pre>
aws-java-sdk-core/src/main/java/com/amazonaws/internal/TokenBucket.java