Package org.apache.solr.core
Class RateLimiterConfig
- java.lang.Object
-
- org.apache.solr.core.RateLimiterConfig
-
public class RateLimiterConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description intallowedRequestsintguaranteedSlotsThresholdbooleanisEnabledbooleanisSlotBorrowingEnabledSolrRequest.SolrRequestTyperequestTypestatic StringRL_CONFIG_KEYlongwaitForSlotAcquisition
-
Constructor Summary
Constructors Constructor Description RateLimiterConfig(SolrRequest.SolrRequestType requestType)RateLimiterConfig(SolrRequest.SolrRequestType requestType, boolean isEnabled, int guaranteedSlotsThreshold, long waitForSlotAcquisition, int allowedRequests, boolean isSlotBorrowingEnabled)
-
-
-
Field Detail
-
RL_CONFIG_KEY
public static final String RL_CONFIG_KEY
- See Also:
- Constant Field Values
-
requestType
public SolrRequest.SolrRequestType requestType
-
isEnabled
public boolean isEnabled
-
waitForSlotAcquisition
public long waitForSlotAcquisition
-
allowedRequests
public int allowedRequests
-
isSlotBorrowingEnabled
public boolean isSlotBorrowingEnabled
-
guaranteedSlotsThreshold
public int guaranteedSlotsThreshold
-
-
Constructor Detail
-
RateLimiterConfig
public RateLimiterConfig(SolrRequest.SolrRequestType requestType)
-
RateLimiterConfig
public RateLimiterConfig(SolrRequest.SolrRequestType requestType, boolean isEnabled, int guaranteedSlotsThreshold, long waitForSlotAcquisition, int allowedRequests, boolean isSlotBorrowingEnabled)
-
-