org.jclouds.rackspace.cloudloadbalancers.v1.domain
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.
ConnectionThrottle
@ConstructorProperties(value={"maxConnections","minConnections","maxConnectionRate","rateInterval"})
protected ConnectionThrottle(Integer maxConnections,
Integer minConnections,
Integer maxConnectionRate,
Integer rateInterval)
getMaxConnections
public int getMaxConnections()
getMinConnections
public int getMinConnections()
getMaxConnectionRate
public int getMaxConnectionRate()
getRateInterval
public int getRateInterval()
isValid
public boolean isValid()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
builder
public static ConnectionThrottle.Builder builder()
toBuilder
public ConnectionThrottle.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.