org.apache.jmeter.util
Class CPSPauser
Generate appropriate pauses for a given CPS (characters per second)
CPSPauser(int cps) - Create a pauser with the appropriate speed settings.
|
void | pause(int bytes) - Pause for an appropriate time according to the number of bytes being transferred.
|
CPSPauser
public CPSPauser(int cps)
Create a pauser with the appropriate speed settings.
pause
public void pause(int bytes)
Pause for an appropriate time according to the number of bytes being transferred.
bytes
- number of bytes being transferred
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.