|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jmeter.threads.JMeterThread
The JMeter interface to the sampling process, allowing JMeter to see the timing, add listeners for sampling events and to stop the sampling process.
Constructor Summary | |
JMeterThread()
|
|
JMeterThread(org.apache.jorphan.collections.HashTree test,
JMeterThreadMonitor monitor,
ListenerNotifier note)
|
Method Summary | |
long |
getEndTime()
Get the end time value. |
long |
getStartTime()
Get the start time value. |
String |
getThreadName()
|
int |
getThreadNum()
Returns the threadNum. |
boolean |
isScheduled()
Checks whether the JMeterThread is Scheduled. |
void |
run()
|
void |
setEndTime(long etime)
Set the EndTime for this Thread. |
void |
setInitialContext(JMeterContext context)
|
void |
setInitialDelay(int delay)
|
void |
setScheduled(boolean sche)
Enable the scheduler for this JMeterThread. |
void |
setStartTime(long stime)
Set the StartTime for this Thread. |
void |
setThreadName(String threadName)
|
void |
setThreadNum(int threadNum)
Sets the threadNum. |
void |
startScheduler()
Start the scheduler with the specified time aAuthor T.Elanjchezhiyan(chezhiyan@siptech.co.in) |
void |
stop()
|
void |
stopScheduler()
Check the scheduled time is completed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JMeterThread()
public JMeterThread(org.apache.jorphan.collections.HashTree test, JMeterThreadMonitor monitor, ListenerNotifier note)
Method Detail |
public void setInitialContext(JMeterContext context)
public boolean isScheduled()
public void setScheduled(boolean sche)
public void setStartTime(long stime)
public long getStartTime()
public void setEndTime(long etime)
public long getEndTime()
public void stopScheduler()
public void startScheduler()
public void setThreadName(String threadName)
public void run()
run
in interface Runnable
public String getThreadName()
public void stop()
public void setInitialDelay(int delay)
public int getThreadNum()
public void setThreadNum(int threadNum)
threadNum
- the threadNum to set
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |