Searched refs:maxQuota (Results 1 – 2 of 2) sorted by relevance
199 Instant startTime, Instant endTime, Duration window, int maxQuota) { in getCeilQuotaAcquired() argument201 float accumulated = timeSpent.toMillis() * ((float) maxQuota / (float) window.toMillis()); in getCeilQuotaAcquired()
240 Instant startTime, Instant endTime, Duration window, int maxQuota) { in getQuotaAcquired() argument242 return timeSpent.toMillis() * ((float) maxQuota / (float) window.toMillis()); in getQuotaAcquired()