Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.threads » [javadoc | source]
org.apache.jmeter.threads
public class: JMeterContext [javadoc | source]
java.lang.Object
   org.apache.jmeter.threads.JMeterContext
Holds context for a thread. Generated by JMeterContextService.
Constructor:
 JMeterContext() 
Method from org.apache.jmeter.threads.JMeterContext Summary:
clear,   getCurrentSampler,   getEngine,   getPreviousResult,   getPreviousSampler,   getReadBuffer,   getThread,   getThreadGroup,   getThreadNum,   getVariables,   isSamplingStarted,   setCurrentSampler,   setEngine,   setPreviousResult,   setSamplingStarted,   setThread,   setThreadGroup,   setThreadNum,   setVariables
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.threads.JMeterContext Detail:
 public  void clear() 
 public Sampler getCurrentSampler() 
 public StandardJMeterEngine getEngine() 
 public SampleResult getPreviousResult() 
 public Sampler getPreviousSampler() 
    Returns the previousSampler.
 public byte[] getReadBuffer() 
    A temporary buffer that can be shared between samplers in a thread.
 public JMeterThread getThread() 
 public ThreadGroup getThreadGroup() 
 public int getThreadNum() 
    Returns the threadNum.
 public JMeterVariables getVariables() 
    Gives access to the JMeter variables for the current thread.
 public boolean isSamplingStarted() 
 public  void setCurrentSampler(Sampler sampler) 
 public  void setEngine(StandardJMeterEngine engine) 
 public  void setPreviousResult(SampleResult result) 
 public  void setSamplingStarted(boolean b) 
 public  void setThread(JMeterThread thread) 
 public  void setThreadGroup(ThreadGroup threadgrp) 
 public  void setThreadNum(int threadNum) 
    Sets the threadNum.
 public  void setVariables(JMeterVariables vars)