public class TimerService extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
adjustDelay(long initialDelay)
Adjust delay so that initialDelay does not exceed end of test
|
long |
adjustDelay(long initialDelay,
boolean runTillEnd)
Adjust delay so that initialDelay does not exceed end of test
If runTillEnd is false the delay will be shortened
to -1 if the delay would be longer than the remaining run time. |
long |
adjustDelay(long initialDelay,
long endTime)
Adjust delay so that initialDelay does not exceed end of test
|
long |
adjustDelay(long initialDelay,
long endTime,
boolean runTillEnd)
Adjust delay so that initialDelay does not exceed end of test
If runTillEnd is false the delay will be shortened
to -1 if the delay would be longer than the remaining run time. |
static TimerService |
getInstance() |
public static TimerService getInstance()
public long adjustDelay(long initialDelay)
initialDelay - initial delay in millisecondspublic long adjustDelay(long initialDelay,
boolean runTillEnd)
runTillEnd is false the delay will be shortened
to -1 if the delay would be longer than the remaining run time.initialDelay - initial delay in millisecondsrunTillEnd - adjust delay to match the scheduled endpublic long adjustDelay(long initialDelay,
long endTime)
initialDelay - initial delay in millisecondsendTime - End time of JMeterThreadpublic long adjustDelay(long initialDelay,
long endTime,
boolean runTillEnd)
runTillEnd is false the delay will be shortened
to -1 if the delay would be longer than the remaining run time.initialDelay - initial delay in millisecondsendTime - End time of JMeterThreadrunTillEnd - adjust delay to match the scheduled endCopyright © 1998-2023 Apache Software Foundation. All Rights Reserved.