// Token: 0x060071E2 RID: 29154 RVA: 0x001792A4 File Offset: 0x001774A4 private void InternalUpdateCachedPolicyValues(bool resetBudgetValues) { lock (this.SyncRoot) { this.casTokenBucket = TokenBucket.Create(resetBudgetValues ? null : this.casTokenBucket, this.ThrottlingPolicy.MaxBurst, this.ThrottlingPolicy.RechargeRate, this.ThrottlingPolicy.CutoffBalance, this.Owner); } this.UpdateCachedPolicyValues(resetBudgetValues); }
public static ITokenBucket Create(Unlimited <uint> maxBalance, Unlimited <uint> rechargeRate, Unlimited <uint> minBalance, BudgetKey budgetKey) { return(TokenBucket.Create(null, maxBalance, rechargeRate, minBalance, budgetKey)); }