public class RequestLimit<T extends RequestLimit<T>> extends Object
Constructor and Description |
---|
RequestLimit(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
Integer |
maxConcurrentRequests()
Maximum number of concurrent requests
|
T |
maxConcurrentRequests(Integer value)
Maximum number of concurrent requests
|
Integer |
queueSize()
Number of requests to queue before they start being rejected
|
T |
queueSize(Integer value)
Number of requests to queue before they start being rejected
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public RequestLimit(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer maxConcurrentRequests()
public T maxConcurrentRequests(Integer value)
public Integer queueSize()
Copyright © 2019 JBoss by Red Hat. All rights reserved.