protected static class ThrottleDescription.ThrottleItem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
maxOpenConnections
The maximum open connections, or null if no limit.
|
protected java.lang.Double |
minimumMillisecondsPerByte
The minimum milliseconds between bytes, or null if no limit.
|
protected java.lang.Long |
minimumMillisecondsPerFetch
The minimum milliseconds per fetch, or null if no limit
|
protected java.util.regex.Pattern |
pattern
The bin-matching pattern.
|
| Constructor and Description |
|---|
ThrottleItem(java.util.regex.Pattern p)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getMaxOpenConnections()
Get maximum open connections.
|
java.lang.Double |
getMinimumMillisecondsPerByte()
Get minimum milliseconds per byte.
|
java.lang.Long |
getMinimumMillisecondsPerFetch()
Get minimum milliseconds per fetch
|
java.util.regex.Pattern |
getPattern()
Get the pattern.
|
void |
setMaxOpenConnections(java.lang.Integer value)
Set maximum open connections.
|
void |
setMinimumMillisecondsPerByte(java.lang.Double value)
Set minimum milliseconds per byte.
|
void |
setMinimumMillisecondsPerFetch(java.lang.Long value)
Set minimum milliseconds per fetch
|
protected final java.util.regex.Pattern pattern
protected java.lang.Double minimumMillisecondsPerByte
protected java.lang.Long minimumMillisecondsPerFetch
protected java.lang.Integer maxOpenConnections
public java.util.regex.Pattern getPattern()
public void setMinimumMillisecondsPerByte(java.lang.Double value)
public java.lang.Double getMinimumMillisecondsPerByte()
public void setMinimumMillisecondsPerFetch(java.lang.Long value)
public java.lang.Long getMinimumMillisecondsPerFetch()
public void setMaxOpenConnections(java.lang.Integer value)
public java.lang.Integer getMaxOpenConnections()