Apache JMeter
2.0.1.20050615

org.apache.jmeter.threads
Class ReflectionThreadGroup

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.threads.ThreadGroup
          extended byorg.apache.jmeter.threads.ReflectionThreadGroup
All Implemented Interfaces:
Cloneable, Controller, SampleListener, Serializable, TestElement

public class ReflectionThreadGroup
extends ThreadGroup

ThreadGroup used for reflection purposes. ThreadGroup has a LoopController which loops as many times as specified on the ThreadGroup gui. During reflection, we don't need the LoopController because we need to run the Sampler (for example, JNDISampler) only once. Thus we create this ReflectionThreadGroup which has a {link #nextEntry()} which doesn't make use of the LoopController.

Version:
$Revision: 1.6 $
Author:
Khor Soon Hin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jmeter.threads.ThreadGroup
DELAY, DURATION, END_TIME, MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTHREAD, RAMP_TIME, SCHEDULER, START_TIME
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
ReflectionThreadGroup()
           
 
Methods inherited from class org.apache.jmeter.threads.ThreadGroup
addIterationListener, addTestElement, getDefaultNumThreads, getDefaultRampUp, getDelay, getDuration, getEndTime, getNumThreads, getOnErrorStopTest, getOnErrorStopThread, getRampUp, getSamplerController, getScheduler, getStartTime, initialize, isDone, next, sampleOccurred, sampleStarted, sampleStopped, setDelay, setDuration, setEndTime, setNumThreads, setRampUp, setSamplerController, setScheduler, setStartTime
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse
 

Constructor Detail

ReflectionThreadGroup

public ReflectionThreadGroup()

Apache JMeter
2.0.1.20050615

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