Packages

class Pace extends ExitableAction with NameGen

Pace provides a means to limit the frequency with which an action is run, by specifying a minimum wait time between iterations.

Originally contributed by James Pickering.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pace
  2. NameGen
  3. ExitableAction
  4. ChainableAction
  5. Action
  6. StrictLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Pace(intervalExpr: Expression[FiniteDuration], counter: String, statsEngine: StatsEngine, clock: Clock, next: Action)

    intervalExpr

    a function that decides how long to wait before the next iteration

    counter

    the name of the counter used to keep track of the run state. Typically this would be random, but can be set explicitly if needed

Value Members

  1. def !(session: Session): Unit
    Definition Classes
    ExitableActionChainableActionAction
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val clock: Clock
    Definition Classes
    PaceExitableAction
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def execute(session: Session): Unit

    Pace keeps track of when it can next run using a counter in the session.

    Pace keeps track of when it can next run using a counter in the session. If this counter does not exist, it will run immediately. On each run, it increments the counter by intervalExpr.

    session

    the session of the virtual user

    returns

    nothing

    Definition Classes
    PaceAction
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def genName(base: String): String
    Definition Classes
    NameGen
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  17. val name: String
    Definition Classes
    PaceAction
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val next: Action

    returns

    the next Action in the scenario workflow

    Definition Classes
    PaceChainableAction
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def recover(session: Session)(v: Validation[_]): Unit
    Definition Classes
    ChainableAction
  23. val statsEngine: StatsEngine
    Definition Classes
    PaceExitableAction
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from NameGen

Inherited from ExitableAction

Inherited from ChainableAction

Inherited from Action

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped