final class PerUserCounterBuilder extends ActionBuilder
Builder of an action that stores an incrementing value into the virtual users' Session, tracked
independently for each virtual user. Only reachable from CounterBuilder#perUser(), as
dynamic values, eg functions and Gatling EL Strings, only make sense when tracking per user: a
range resolved from one virtual user's Session can't define the sequence shared by all of them.
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- PerUserCounterBuilder
- ActionBuilder
- Executable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala(): core.action.builder.ActionBuilder
For internal use only
For internal use only
- returns
the wrapped Scala instance
- Definition Classes
- PerUserCounterBuilder → ActionBuilder
- Annotations
- @Override()
- 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
- 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
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def startingAt(start: Function[Session, Integer]): PerUserCounterBuilder
Set the first value to be emitted.
Set the first value to be emitted. Must be positive. Default is 0.
- start
the first value, as a function
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def startingAt(start: String): PerUserCounterBuilder
Set the first value to be emitted.
Set the first value to be emitted. Must be positive. Default is 0.
- start
the first value, as a Gatling EL String
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def startingAt(start: Int): PerUserCounterBuilder
Set the first value to be emitted.
Set the first value to be emitted. Must be positive. Default is 0.
- start
the first value
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toChainBuilder(): ChainBuilder
For internal use only
For internal use only
- returns
a ChainBuilder
- Definition Classes
- ActionBuilder → Executable
- Annotations
- @Override()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def upTo(end: Function[Session, Integer]): PerUserCounterBuilder
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default.
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default. Once it's reached, the load generator is stopped, unless
#wrapAround()is used.- end
the exclusive upper bound, as a function
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def upTo(end: String): PerUserCounterBuilder
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default.
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default. Once it's reached, the load generator is stopped, unless
#wrapAround()is used.- end
the exclusive upper bound, as a Gatling EL String
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def upTo(end: Int): PerUserCounterBuilder
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default.
Set the upper bound, exclusive, except when it's Integer.MAX_VALUE, which is the default. Once it's reached, the load generator is stopped, unless
#wrapAround()is used.- end
the exclusive upper bound
- returns
a new PerUserCounterBuilder
- 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()
- def withIncrement(increment: Function[Session, Integer]): PerUserCounterBuilder
Set the gap between 2 successive values.
Set the gap between 2 successive values. Default is 1.
- increment
the gap between 2 successive values, as a function
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def withIncrement(increment: String): PerUserCounterBuilder
Set the gap between 2 successive values.
Set the gap between 2 successive values. Default is 1.
- increment
the gap between 2 successive values, as a Gatling EL String
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def withIncrement(increment: Int): PerUserCounterBuilder
Set the gap between 2 successive values.
Set the gap between 2 successive values. Default is 1.
- increment
the gap between 2 successive values
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()
- def wrapAround(): PerUserCounterBuilder
Start over from the first value once the upper bound is reached, instead of stopping the load generator.
Start over from the first value once the upper bound is reached, instead of stopping the load generator. Beware values are then no longer unique.
- returns
a new PerUserCounterBuilder
- Annotations
- @NonNull()