Class RpsThreadGroup.ContractComplyingConcurrencyThreadGroup

  • All Implemented Interfaces:
    Serializable, Cloneable, org.apache.jmeter.control.Controller, org.apache.jmeter.gui.Searchable, org.apache.jmeter.testelement.TestElement, org.apache.jmeter.testelement.TestStateListener, org.apache.jmeter.threads.JMeterThreadMonitor, org.apache.jmeter.threads.TestCompilerHelper
    Enclosing class:
    RpsThreadGroup

    public static class RpsThreadGroup.ContractComplyingConcurrencyThreadGroup
    extends com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
    This implementation of ConcurrencyThreadGroup complies with AbstractThreadGroup contract, and the original doesn't.

    ConcurrencyThreadGroup stop should be graceful and is not, tellThreadsToStop should interrupt threads and is not.

    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup

        MIN_CHECK_TIME
      • Fields inherited from class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroup

        threadStarter, UNIT, UNIT_MINUTES, UNIT_SECONDS
      • Fields inherited from class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroupModel

        HOLD, ITERATIONS, LOG_FILENAME, logFile, RAMP_UP, running, STEPS, TARGET_LEVEL, threads, WAIT_TO_DIE
      • Fields inherited from class org.apache.jmeter.threads.AbstractThreadGroup

        DEFAULT_THREAD_STOP_TIMEOUT, IS_SAME_USER_ON_NEXT_ITERATION, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void stop()  
      void tellThreadsToStop()  
      • Methods inherited from class com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup

        getConcurrency, getNumThreads, getThreadStarter, isLimitReached, threadFinished, threadStarted, tooMuchConcurrency, waitThreadStopped
      • Methods inherited from class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroup

        getUnit, getUnitFactor, getUnitStr, getUnitStr, isRunning, joinThreadFrom, setUnit, start, startNextLoop, stopThread, verifyThreadsStopped, waitThreadsStopped
      • Methods inherited from class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroupModel

        addThread, getHold, getHoldSeconds, getIterationsLimit, getIterationsLimitAsLong, getLogFilename, getNumberOfThreads, getRampUp, getRampUpSeconds, getSteps, getStepsAsLong, getTargetLevel, getTargetLevelAsDouble, getTargetLevelAsInt, getTargetLevelFactored, numberOfActiveThreads, saveLogRecord, setHold, setIterationsLimit, setLogFilename, setRampUp, setSteps, setTargetLevel, testEnded, testEnded, testStarted, testStarted
      • Methods inherited from class org.apache.jmeter.threads.AbstractThreadGroup

        addIterationListener, addNewThread, addTestElement, addTestElementOnce, breakThreadLoop, cloneTree, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, isSameUserOnNextIteration, makeThread, next, removeIterationListener, setIsSameUserOnNextIteration, setNumThreads, setSamplerController, 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, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
      • 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, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
    • Constructor Detail

      • ContractComplyingConcurrencyThreadGroup

        public ContractComplyingConcurrencyThreadGroup()
    • Method Detail

      • stop

        public void stop()
        Overrides:
        stop in class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroup
      • tellThreadsToStop

        public void tellThreadsToStop()
        Overrides:
        tellThreadsToStop in class com.blazemeter.jmeter.threads.AbstractDynamicThreadGroup