Class StoreLoadController
java.lang.Object
com.linkedin.venice.fastclient.meta.StoreLoadController
This class is used to control the load on the store, and it will treat every quota rejected request as
a signal to reject more requests on the client side to avoid overloading the server.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StoreLoadController
-
-
Method Details
-
recordRejectedRequest
public void recordRejectedRequest() -
recordResponse
-
shouldRejectRequest
public boolean shouldRejectRequest() -
getRejectionRatio
public double getRejectionRatio()
-