|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.threads.JMeterContext
Holds context for a thread
Method Summary | |
void |
clear()
|
Sampler |
getCurrentSampler()
|
StandardJMeterEngine |
getEngine()
|
SampleResult |
getPreviousResult()
|
Sampler |
getPreviousSampler()
Returns the previousSampler. |
byte[] |
getReadBuffer()
|
JMeterThread |
getThread()
|
ThreadGroup |
getThreadGroup()
|
int |
getThreadNum()
Returns the threadNum. |
JMeterVariables |
getVariables()
|
boolean |
isSamplingStarted()
|
void |
setCurrentSampler(Sampler sampler)
|
void |
setEngine(StandardJMeterEngine engine)
|
void |
setPreviousResult(SampleResult result)
|
void |
setPreviousSampler(Sampler previousSampler)
Sets the previousSampler. |
void |
setSamplingStarted(boolean b)
|
void |
setThread(JMeterThread thread)
|
void |
setThreadGroup(ThreadGroup threadgrp)
|
void |
setThreadNum(int threadNum)
Sets the threadNum. |
void |
setVariables(JMeterVariables vars)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void clear()
public JMeterVariables getVariables()
public byte[] getReadBuffer()
public void setVariables(JMeterVariables vars)
public SampleResult getPreviousResult()
public void setPreviousResult(SampleResult result)
public Sampler getCurrentSampler()
public void setCurrentSampler(Sampler sampler)
public Sampler getPreviousSampler()
public void setPreviousSampler(Sampler previousSampler)
previousSampler
- the previousSampler to setpublic int getThreadNum()
public void setThreadNum(int threadNum)
threadNum
- the threadNum to setpublic JMeterThread getThread()
public void setThread(JMeterThread thread)
public ThreadGroup getThreadGroup()
public void setThreadGroup(ThreadGroup threadgrp)
public StandardJMeterEngine getEngine()
public void setEngine(StandardJMeterEngine engine)
public boolean isSamplingStarted()
public void setSamplingStarted(boolean b)
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |