Apache JMeter
2.0.1.20050615

org.apache.jmeter.threads
Class JMeterContext

java.lang.Object
  extended byorg.apache.jmeter.threads.JMeterContext

public class JMeterContext
extends Object

Version:
$Revision: 1.11 $

Method Summary
 void clear()
           
 Sampler getCurrentSampler()
           
 SampleResult getPreviousResult()
           
 Sampler getPreviousSampler()
          Returns the previousSampler.
 byte[] getReadBuffer()
           
 int getThreadNum()
          Returns the threadNum.
 JMeterVariables getVariables()
           
 boolean isSamplingStarted()
           
 void setCurrentSampler(Sampler sampler)
           
 void setPreviousResult(SampleResult result)
           
 void setPreviousSampler(Sampler previousSampler)
          Sets the previousSampler.
 void setSamplingStarted(boolean b)
           
 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

clear

public void clear()

getVariables

public JMeterVariables getVariables()

getReadBuffer

public byte[] getReadBuffer()

setVariables

public void setVariables(JMeterVariables vars)

getPreviousResult

public SampleResult getPreviousResult()

setPreviousResult

public void setPreviousResult(SampleResult result)

getCurrentSampler

public Sampler getCurrentSampler()

setCurrentSampler

public void setCurrentSampler(Sampler sampler)

getPreviousSampler

public Sampler getPreviousSampler()
Returns the previousSampler.

Returns:
Sampler

setPreviousSampler

public void setPreviousSampler(Sampler previousSampler)
Sets the previousSampler.

Parameters:
previousSampler - the previousSampler to set

getThreadNum

public int getThreadNum()
Returns the threadNum.

Returns:
int

setThreadNum

public void setThreadNum(int threadNum)
Sets the threadNum.

Parameters:
threadNum - the threadNum to set

isSamplingStarted

public boolean isSamplingStarted()

setSamplingStarted

public void setSamplingStarted(boolean b)

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.