public class ConnectionThrottle extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionThrottle.Builder |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionThrottle(Integer maxConnections,
Integer minConnections,
Integer maxConnectionRate,
Integer rateInterval) |
Modifier and Type | Method and 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.Objects.ToStringHelper |
string() |
ConnectionThrottle.Builder |
toBuilder() |
String |
toString() |
public int getMaxConnections()
public int getMinConnections()
public int getMaxConnectionRate()
public int getRateInterval()
public boolean isValid()
protected com.google.common.base.Objects.ToStringHelper string()
public static ConnectionThrottle.Builder builder()
public ConnectionThrottle.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.