io.gatling.core.action

Pace

Related Docs: object Pace | package action

class Pace extends BaseActor with Interruptable with Failable

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. Failable
  3. Interruptable
  4. Chainable
  5. Action
  6. BaseActor
  7. LazyLogging
  8. ActorNames
  9. Actor
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pace(intervalExpr: Expression[Duration], counter: String, statsEngine: StatsEngine, next: ActorRef)

    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

    statsEngine

    the StatsEngine

    next

    the next actor in the chain

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def actorName(base: String): String

    Definition Classes
    ActorNames
  5. def aroundPostRestart(reason: Throwable): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPostStop(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreStart(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val context: ActorContext

    Definition Classes
    Actor
  13. implicit def dispatcher: ExecutionContextExecutor

    Definition Classes
    BaseActor
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def execute(session: Session): Unit

    Definition Classes
    Failable
  17. def executeOrFail(session: Session): Validation[Any]

    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
    PaceFailable
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. val interrupt: PartialFunction[Any, Unit]

    Definition Classes
    Interruptable
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    LazyLogging
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. val next: ActorRef

    the next actor in the chain

    the next actor in the chain

    Definition Classes
    PaceChainable
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def postRestart(reason: Throwable): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def postStop(): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Makes sure that in case of an actor crash, the Session is not lost but passed to the next Action.

    Makes sure that in case of an actor crash, the Session is not lost but passed to the next Action.

    Definition Classes
    ChainableBaseActor → Actor
  31. def preStart(): Unit

    Definition Classes
    BaseActor → Actor
  32. def receive: PartialFunction[Any, Unit]

    Definition Classes
    InterruptableAction → Actor
  33. def scheduler: Scheduler

    Definition Classes
    BaseActor
  34. implicit final val self: ActorRef

    Definition Classes
    Actor
  35. final def sender(): ActorRef

    Definition Classes
    Actor
  36. val statsEngine: StatsEngine

    the StatsEngine

    the StatsEngine

    Definition Classes
    PaceInterruptable
  37. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    Actor
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. implicit def system: ActorSystem

    Definition Classes
    BaseActor
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def unhandled(message: Any): Unit

    Definition Classes
    BaseActor → Actor
  42. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Failable

Inherited from Interruptable

Inherited from Chainable

Inherited from Action

Inherited from BaseActor

Inherited from LazyLogging

Inherited from ActorNames

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped