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 int
allowedRequests
int
guaranteedSlotsThreshold
boolean
isEnabled
boolean
isSlotBorrowingEnabled
org.apache.solr.client.solrj.SolrRequest.SolrRequestType
requestType
static String
RL_CONFIG_KEY
long
waitForSlotAcquisition
-
Constructor Summary
Constructors Constructor Description RateLimiterConfig(org.apache.solr.client.solrj.SolrRequest.SolrRequestType requestType)
RateLimiterConfig(org.apache.solr.client.solrj.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 org.apache.solr.client.solrj.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(org.apache.solr.client.solrj.SolrRequest.SolrRequestType requestType)
-
RateLimiterConfig
public RateLimiterConfig(org.apache.solr.client.solrj.SolrRequest.SolrRequestType requestType, boolean isEnabled, int guaranteedSlotsThreshold, long waitForSlotAcquisition, int allowedRequests, boolean isSlotBorrowingEnabled)
-
-