|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.rackspace.cloudloadbalancers.v1.domain.ConnectionThrottle.Builder
public static class ConnectionThrottle.Builder
| Constructor Summary | |
|---|---|
ConnectionThrottle.Builder()
|
|
| Method Summary | |
|---|---|
ConnectionThrottle |
build()
|
ConnectionThrottle.Builder |
from(ConnectionThrottle in)
|
ConnectionThrottle.Builder |
maxConnectionRate(int maxConnectionRate)
Maximum number of connections allowed from a single IP address in the defined rateInterval. |
ConnectionThrottle.Builder |
maxConnections(int maxConnections)
Maximum number of connections to allow for a single IP address. |
ConnectionThrottle.Builder |
minConnections(int minConnections)
Allow at least this number of connections per IP address before applying throttling restrictions. |
ConnectionThrottle.Builder |
rateInterval(int rateInterval)
Frequency (in seconds) at which the maxConnectionRate is assessed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionThrottle.Builder()
| Method Detail |
|---|
public ConnectionThrottle.Builder maxConnections(int maxConnections)
public ConnectionThrottle.Builder minConnections(int minConnections)
public ConnectionThrottle.Builder maxConnectionRate(int maxConnectionRate)
public ConnectionThrottle.Builder rateInterval(int rateInterval)
public ConnectionThrottle build()
public ConnectionThrottle.Builder from(ConnectionThrottle in)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||