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 class
ConnectionThrottle.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectionThrottle(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.Builder
builder()
boolean
equals(Object obj)
int
getMaxConnectionRate()
int
getMaxConnections()
int
getMinConnections()
int
getRateInterval()
int
hashCode()
boolean
isValid()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
ConnectionThrottle.Builder
toBuilder()
String
toString()
-
-
-
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()
-
-