Package org.apache.jmeter.util
Class CPSPauser
java.lang.Object
org.apache.jmeter.util.CPSPauser
Generate appropriate pauses for a given CPS (characters per second)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pause
(int bytes) Pause for an appropriate time according to the number of bytes being transferred.
-
Constructor Details
-
CPSPauser
public CPSPauser(int cps) Create a pauser with the appropriate speed settings.- Parameters:
cps
- CPS to emulate
-
-
Method Details
-
pause
public void pause(int bytes) Pause for an appropriate time according to the number of bytes being transferred.- Parameters:
bytes
- number of bytes being transferred
-