org.apache.jmeter.timers
Interface Timer
- All Known Implementing Classes:
- RandomTimer, ConstantTimer
- public abstract interface Timer
This interface defines those methods that must be implemented
by timer plugins.
- Version:
- $Revision: 1.3 $ $Date: 1999/02/24 15:32:45 $
- Author:
- Stefano Mazzocchi
Method Summary |
long |
delay()
This method is called after a sampling process is done
to know how much time the sampling thread has to wait
until sampling again. |
void |
set()
This method is called right before thread execution
and must set the timer for proper funtioning. |
java.lang.String |
toString()
This method should return a small sentence identifying
this timer action. |
delay
public long delay()
- This method is called after a sampling process is done
to know how much time the sampling thread has to wait
until sampling again.
set
public void set()
- This method is called right before thread execution
and must set the timer for proper funtioning. GUI enabled
timers should collect values from their GUI fields with
this method instead of using private action listeners.
toString
public java.lang.String toString()
- This method should return a small sentence identifying
this timer action. It is used by Combo boxes to both display
information to the user and identifying this timer.
- Overrides:
- toString in class java.lang.Object
|
Copyright (c) 1998-99 The Java Apache Project
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |