io.gatling.core.action

Pace

Related Doc: 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
Failable, Interruptable, Chainable, Action, BaseActor, StrictLogging, AkkaDefaults, AskSupport, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Pace
  2. Failable
  3. Interruptable
  4. Chainable
  5. Action
  6. BaseActor
  7. StrictLogging
  8. AkkaDefaults
  9. AskSupport
  10. Actor
  11. AnyRef
  12. 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, 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

    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
    AkkaDefaults
  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 ask(actorSelection: ActorSelection, message: Any)(implicit timeout: Timeout): Future[Any]

    Definition Classes
    AskSupport
  12. implicit def ask(actorSelection: ActorSelection): AskableActorSelection

    Definition Classes
    AskSupport
  13. def ask(actorRef: ActorRef, message: Any)(implicit timeout: Timeout): Future[Any]

    Definition Classes
    AskSupport
  14. implicit def ask(actorRef: ActorRef): AskableActorRef

    Definition Classes
    AskSupport
  15. def clone(): AnyRef

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

    Definition Classes
    Actor
  17. implicit def dispatcher: ExecutionContextExecutor

    Definition Classes
    AkkaDefaults
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Failable
  21. 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
  22. def finalize(): Unit

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

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

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

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

    Definition Classes
    Any
  27. val logger: Logger

    Attributes
    protected
    Definition Classes
    StrictLogging
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. val next: ActorRef

    the next actor in the chain

    the next actor in the chain

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

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

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

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

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  34. 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
  35. def preStart(): Unit

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

    Definition Classes
    InterruptableAction → Actor
  37. implicit def scheduler: Scheduler

    Definition Classes
    AkkaDefaults
  38. implicit final val self: ActorRef

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

    Definition Classes
    Actor
  40. val simulationTimeOut: FiniteDuration

    Definition Classes
    AkkaDefaults
  41. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  43. implicit def system: ActorSystem

    Definition Classes
    AkkaDefaults
  44. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. 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 StrictLogging

Inherited from AkkaDefaults

Inherited from AskSupport

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped