public class ThrottleException
extends java.lang.Exception
| Constructor and Description |
|---|
ThrottleException(java.lang.String throttleName,
long threshold,
java.util.concurrent.TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getThreshold() |
java.lang.String |
getThrottleName() |
java.util.concurrent.TimeUnit |
getTimeUnit() |
void |
setThreshold(long threshold) |
void |
setThrottleName(java.lang.String throttleName) |
void |
setTimeUnit(java.util.concurrent.TimeUnit timeUnit) |
public ThrottleException(java.lang.String throttleName,
long threshold,
java.util.concurrent.TimeUnit timeUnit)
public java.lang.String getThrottleName()
public void setThrottleName(java.lang.String throttleName)
public long getThreshold()
public void setThreshold(long threshold)
public java.util.concurrent.TimeUnit getTimeUnit()
public void setTimeUnit(java.util.concurrent.TimeUnit timeUnit)