public class RequestStarterGroup.MyRequestThrottle extends java.lang.Object implements BaseRequestThrottle
DEFAULT_DELAY, MAX_DELAY, MIN_DELAY| Constructor and Description |
|---|
MyRequestThrottle(int rtt,
java.lang.String string,
SimpleFieldSet fs,
int size,
boolean realTime) |
| Modifier and Type | Method and Description |
|---|---|
SimpleFieldSet |
exportFieldSet() |
long |
getDelay()
Get the current inter-request delay.
|
long |
getRate() |
double |
getRTT() |
void |
successfulCompletion(long rtt) |
java.lang.String |
toString() |
public MyRequestThrottle(int rtt,
java.lang.String string,
SimpleFieldSet fs,
int size,
boolean realTime)
public long getDelay()
BaseRequestThrottlegetDelay in interface BaseRequestThrottlepublic void successfulCompletion(long rtt)
public java.lang.String toString()
toString in class java.lang.Objectpublic SimpleFieldSet exportFieldSet()
public double getRTT()
public long getRate()