org.jclouds.rackspace.cloudloadbalancers.v1.domain
Class ConnectionThrottle

java.lang.Object
  extended by 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
static class ConnectionThrottle.Builder
           
 
Constructor Summary
protected ConnectionThrottle(Integer maxConnections, Integer minConnections, Integer maxConnectionRate, Integer rateInterval)
           
 
Method Summary
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.Objects.ToStringHelper string()
           
 ConnectionThrottle.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionThrottle

@ConstructorProperties(value={"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()

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.