Apache JMeter
1.9

org.apache.jmeter.threads
Class ReflectionThreadGroup

java.lang.Object
  |
  +--org.apache.jmeter.testelement.AbstractTestElement
        |
        +--org.apache.jmeter.threads.ThreadGroup
              |
              +--org.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 #nextEntry() which doesn't make use of the LoopController.

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

Field Summary
 
Fields inherited from class org.apache.jmeter.threads.ThreadGroup
END_TIME, MAIN_CONTROLLER, NUM_THREADS, RAMP_TIME, SCHEDULER, START_TIME
 
Fields inherited from class org.apache.jmeter.testelement.AbstractTestElement
log
 
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, getEndTime, getNumThreads, getRampUp, getSamplerController, getScheduler, getStartTime, initialize, isDone, next, sampleOccurred, sampleStarted, sampleStopped, setEndTime, setNumThreads, setRampUp, setSamplerController, setScheduler, setStartTime
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, clear, clone, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, 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
clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, traverse
 

Constructor Detail

ReflectionThreadGroup

public ReflectionThreadGroup()

Apache JMeter
1.9

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