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) |
Modifier and Type | Method and Description |
---|---|
protected String |
getConfigurationPropertyName() |
void |
onApplicationEvent(FilterArgsEvent event) |
protected void |
setConfigurationService(ConfigurationService configurationService) |
String |
toString() |
getConfig
getConfigClass, newConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isAllowed
getConfig
getConfigClass, newConfig
protected AbstractRateLimiter(Class<C> configClass, String configurationPropertyName, ConfigurationService configurationService)
protected String getConfigurationPropertyName()
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 © 2020 Pivotal Software, Inc.. All rights reserved.