Returns the maximum amount of data that can be read as part of the current measurement period, and retires the thread if the allowance is consumed.