|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.threads.AbstractThreadGroup
kg.apc.jmeter.threads.AbstractSimpleThreadGroup
public abstract class AbstractSimpleThreadGroup
Field Summary |
---|
Fields inherited from class org.apache.jmeter.threads.AbstractThreadGroup |
---|
MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_START_NEXT_LOOP, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTEST_NOW, ON_SAMPLE_ERROR_STOPTHREAD |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
AbstractSimpleThreadGroup()
No-arg constructor. |
Method Summary | |
---|---|
int |
numberOfActiveThreads()
|
void |
scheduleThread(org.apache.jmeter.threads.JMeterThread thread)
|
protected abstract void |
scheduleThread(org.apache.jmeter.threads.JMeterThread thread,
long now)
|
void |
start(int groupCount,
org.apache.jmeter.threads.ListenerNotifier notifier,
org.apache.jorphan.collections.ListedHashTree threadGroupTree,
org.apache.jmeter.engine.StandardJMeterEngine engine)
|
void |
stop()
|
boolean |
stopThread(String threadName,
boolean now)
|
void |
tellThreadsToStop()
|
void |
threadFinished(org.apache.jmeter.threads.JMeterThread thread)
|
boolean |
verifyThreadsStopped()
|
void |
waitThreadsStopped()
|
Methods inherited from class org.apache.jmeter.threads.AbstractThreadGroup |
---|
addIterationListener, addTestElement, addTestElementOnce, getNumberOfThreads, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, startNextLoop, triggerEndOfLoop |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
---|
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
---|
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
Constructor Detail |
---|
public AbstractSimpleThreadGroup()
Method Detail |
---|
protected abstract void scheduleThread(org.apache.jmeter.threads.JMeterThread thread, long now)
public void scheduleThread(org.apache.jmeter.threads.JMeterThread thread)
public void start(int groupCount, org.apache.jmeter.threads.ListenerNotifier notifier, org.apache.jorphan.collections.ListedHashTree threadGroupTree, org.apache.jmeter.engine.StandardJMeterEngine engine)
start
in class org.apache.jmeter.threads.AbstractThreadGroup
public boolean stopThread(String threadName, boolean now)
stopThread
in class org.apache.jmeter.threads.AbstractThreadGroup
public void threadFinished(org.apache.jmeter.threads.JMeterThread thread)
public void tellThreadsToStop()
tellThreadsToStop
in class org.apache.jmeter.threads.AbstractThreadGroup
public void stop()
stop
in class org.apache.jmeter.threads.AbstractThreadGroup
public int numberOfActiveThreads()
numberOfActiveThreads
in class org.apache.jmeter.threads.AbstractThreadGroup
public boolean verifyThreadsStopped()
verifyThreadsStopped
in class org.apache.jmeter.threads.AbstractThreadGroup
public void waitThreadsStopped()
waitThreadsStopped
in class org.apache.jmeter.threads.AbstractThreadGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |