public abstract class AbstractRateLimiter<C> extends AbstractStatefulConfigurable<C> implements RateLimiter<C>, org.springframework.context.ApplicationListener<FilterArgsEvent>
RateLimiter.Response| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRateLimiter(Class<C> configClass,
String configurationPropertyName,
ConfigurationService configurationService) |
protected |
AbstractRateLimiter(Class<C> configClass,
String configurationPropertyName,
org.springframework.validation.Validator validator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getConfigurationPropertyName() |
protected org.springframework.validation.Validator |
getValidator()
Deprecated.
|
void |
onApplicationEvent(FilterArgsEvent event) |
protected void |
setConfigurationService(ConfigurationService configurationService) |
void |
setValidator(org.springframework.validation.Validator validator)
Deprecated.
|
String |
toString() |
getConfiggetConfigClass, newConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAllowedgetConfiggetConfigClass, newConfig@Deprecated protected AbstractRateLimiter(Class<C> configClass, String configurationPropertyName, org.springframework.validation.Validator validator)
protected AbstractRateLimiter(Class<C> configClass, String configurationPropertyName, ConfigurationService configurationService)
protected String getConfigurationPropertyName()
@Deprecated protected org.springframework.validation.Validator getValidator()
@Deprecated public void setValidator(org.springframework.validation.Validator validator)
protected void setConfigurationService(ConfigurationService configurationService)
public void onApplicationEvent(FilterArgsEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<FilterArgsEvent>public String toString()
toString in class AbstractStatefulConfigurable<C>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.