public class Timing
extends java.lang.Object
Constructor and Description |
---|
Timing(int addedDelay,
int processTime) |
Modifier and Type | Method and Description |
---|---|
int |
getAddedDelay()
The delay added to the response via the stub or global configuration
|
int |
getProcessTime()
The amount of time spent handling the stub request
|
int |
getResponseSendTime()
The amount of time taken to send the response to the client
|
int |
getServeTime()
The total request time from start to finish, minus added delay
|
int |
getTotalTime()
The total request time including added delay
|
Timing |
withResponseSendTime(int responseSendTimeMillis) |
public static final Timing UNTIMED
public int getAddedDelay()
public int getProcessTime()
public int getResponseSendTime()
public int getServeTime()
public int getTotalTime()
public Timing withResponseSendTime(int responseSendTimeMillis)