|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.util.CPSPauser
public class CPSPauser
Generate appropriate pauses for a given CPS (characters per second)
Constructor Summary | |
---|---|
CPSPauser(int cps)
Create a pauser with the appropriate speed settings. |
Method Summary | |
---|---|
void |
pause(int bytes)
Pause for an appropriate time according to the number of bytes being transferred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPSPauser(int cps)
cps
- CPS to emulateMethod Detail |
---|
public void pause(int bytes)
bytes
- number of bytes being transferred
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |