public class SmoothBurstyRateLimiterFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.google.common.util.concurrent.RateLimiter>
Constructor and Description |
---|
SmoothBurstyRateLimiterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.RateLimiter |
getObject() |
Class<com.google.common.util.concurrent.RateLimiter> |
getObjectType() |
double |
getPermitsPerSecond() |
boolean |
isSingleton() |
void |
setPermitsPerSecond(double permitsPerSecond) |
public double getPermitsPerSecond()
public void setPermitsPerSecond(double permitsPerSecond)
public com.google.common.util.concurrent.RateLimiter getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<com.google.common.util.concurrent.RateLimiter>
Exception
public Class<com.google.common.util.concurrent.RateLimiter> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<com.google.common.util.concurrent.RateLimiter>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<com.google.common.util.concurrent.RateLimiter>
Copyright © 2006–2018 TinyGroup. All rights reserved.