Class CombinedRateLimiter

java.lang.Object
org.elasticsearch.common.util.CombinedRateLimiter

public class CombinedRateLimiter
extends java.lang.Object
A rate limiter designed for multiple concurrent users.
  • Constructor Summary

    Constructors 
    Constructor Description
    CombinedRateLimiter​(ByteSizeValue maxBytesPerSec)  
  • Method Summary

    Modifier and Type Method Description
    long maybePause​(int bytes)  
    void setMBPerSec​(ByteSizeValue maxBytesPerSec)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait