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
- Alphabetic
- By Inheritance
Inherited
- Pace
- NameGen
- ExitableAction
- ChainableAction
- Action
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- def !(session: Session): Unit
- Definition Classes
- ExitableAction → ChainableAction → Action
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clock: Clock
- Definition Classes
- Pace → ExitableAction
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def execute(session: Session): Unit
Pace keeps track of when it can next run using a counter in the session.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def genName(base: String): String
- Definition Classes
- NameGen
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val next: Action
- returns
the next Action in the scenario workflow
- Definition Classes
- Pace → ChainableAction
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def recover(session: Session)(v: Validation[_]): Unit
- Definition Classes
- ChainableAction
- val statsEngine: StatsEngine
- Definition Classes
- Pace → ExitableAction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()