Class ConnectionThrottle
- java.lang.Object
-
- org.jclouds.rackspace.cloudloadbalancers.v1.domain.ConnectionThrottle
-
public class ConnectionThrottle extends Object
The connection throttling feature imposes limits on the number of connections per IP address to help mitigate malicious or abusive traffic to your applications. The attributes in the table that follows can be configured based on the traffic patterns for your sites.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionThrottle.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectionThrottle(Integer maxConnections, Integer minConnections, Integer maxConnectionRate, Integer rateInterval)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionThrottle.Builderbuilder()booleanequals(Object obj)intgetMaxConnectionRate()intgetMaxConnections()intgetMinConnections()intgetRateInterval()inthashCode()booleanisValid()protected com.google.common.base.MoreObjects.ToStringHelperstring()ConnectionThrottle.BuildertoBuilder()StringtoString()
-
-
-
Constructor Detail
-
ConnectionThrottle
@ConstructorProperties({"maxConnections","minConnections","maxConnectionRate","rateInterval"}) protected ConnectionThrottle(Integer maxConnections, Integer minConnections, Integer maxConnectionRate, Integer rateInterval)
-
-
Method Detail
-
getMaxConnections
public int getMaxConnections()
-
getMinConnections
public int getMinConnections()
-
getMaxConnectionRate
public int getMaxConnectionRate()
-
getRateInterval
public int getRateInterval()
-
isValid
public boolean isValid()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static ConnectionThrottle.Builder builder()
-
toBuilder
public ConnectionThrottle.Builder toBuilder()
-
-