Package com.google_voltpatches.common.util.concurrent.SmoothRateLimiter

Examples of com.google_voltpatches.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp


  }

  @VisibleForTesting
  static RateLimiter create(
      SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
    RateLimiter rateLimiter = new SmoothWarmingUp(stopwatch, warmupPeriod, unit);
    rateLimiter.setRate(permitsPerSecond);
    return rateLimiter;
  }
View Full Code Here

TOP

Related Classes of com.google_voltpatches.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.