Package org.apache.jmeter.util
Class CPSPauser
-
- All Implemented Interfaces:
public class CPSPauser
Generate appropriate pauses for a given CPS (characters per second)
-
-
Constructor Summary
Constructors Constructor Description CPSPauser(int cps)
Create a pauser with the appropriate speed settings.
-
Method Summary
Modifier and Type Method Description void
pause(int bytes)
Pause for an appropriate time according to the number of bytes being transferred. -
-
Method Detail
-
pause
void pause(int bytes)
Pause for an appropriate time according to the number of bytes being transferred.
- Parameters:
bytes
- number of bytes being transferred
-
-
-
-