final class PopulationBuilder extends AnyRef
A builder for a Population = a Scenario + an injection profile.
Immutable, meaning each method doesn't mutate the current instance but return a new one.
- Alphabetic
- By Inheritance
- PopulationBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PopulationBuilder(wrapped: core.structure.PopulationBuilder)
Value Members
- 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
- def andThen(children: List[PopulationBuilder]): PopulationBuilder
Define some other PopulationBuilder to be executed once all the users of this PopulationBuilder complete their Scenario.
Define some other PopulationBuilder to be executed once all the users of this PopulationBuilder complete their Scenario.
- children
the children PopulationBuilder
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def andThen(children: <repeated...>[PopulationBuilder]): PopulationBuilder
Define some other PopulationBuilder to be executed once all the users of this PopulationBuilder complete their Scenario.
Define some other PopulationBuilder to be executed once all the users of this PopulationBuilder complete their Scenario.
- children
the children PopulationBuilder
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala(): core.structure.PopulationBuilder
For internal use only
For internal use only
- returns
the wrapped Scala instance
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def constantPauses(): PopulationBuilder
Use constant pauses, see
PauseType#ConstantUse constant pauses, see
PauseType#Constant- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def customPauses(custom: Function[Session, Long]): PopulationBuilder
Use custom pauses, see
PauseType.CustomUse custom pauses, see
PauseType.Custom- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def disablePauses(): PopulationBuilder
Disable the pauses, see
PauseType#DisabledDisable the pauses, see
PauseType#Disabled- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exponentialPauses(): PopulationBuilder
Use exponential pauses, see
PauseType#ExponentialUse exponential pauses, see
PauseType#Exponential- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noShard(): PopulationBuilder
Disable the injection profile sharding that happens normally when running with Gatling Enterprise.
Disable the injection profile sharding that happens normally when running with Gatling Enterprise. Only effective when the test is running with Gatling Enterprise, noop otherwise.
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pauses(pauseType: PauseType): PopulationBuilder
Use pauses configured with a given
PauseTypeUse pauses configured with a given
PauseType- pauseType
the pause type
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def protocols(protocols: List[ProtocolBuilder]): PopulationBuilder
Define the optional protocols for this PopulationBuilder
Define the optional protocols for this PopulationBuilder
- protocols
the protocols
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def protocols(protocols: <repeated...>[ProtocolBuilder]): PopulationBuilder
Define the optional protocols for this PopulationBuilder
Define the optional protocols for this PopulationBuilder
- protocols
the protocols
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def throttle(throttleSteps: List[ThrottleStep]): PopulationBuilder
Define the optional throttling profile
Define the optional throttling profile
- throttleSteps
the throttling profile steps
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def throttle(throttleSteps: <repeated...>[ThrottleStep]): PopulationBuilder
Define the optional throttling profile
Define the optional throttling profile
- throttleSteps
the throttling profile steps
- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uniformPauses(plusOrMinus: Duration): PopulationBuilder
Use uniform pauses with a standard deviation value, see
PauseType.UniformDurationUse uniform pauses with a standard deviation value, see
PauseType.UniformDuration- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- def uniformPauses(plusOrMinus: Double): PopulationBuilder
Use uniform pauses with a standard deviation percentage, see
PauseType.UniformPercentageUse uniform pauses with a standard deviation percentage, see
PauseType.UniformPercentage- returns
a new PopulationBuilder
- Annotations
- @NonNull()
- 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()