Packages

c

io.gatling.javaapi.core

PerUserCounterBuilder

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerUserCounterBuilder
  2. ActionBuilder
  3. Executable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. 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()
  16. 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()
  17. 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()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toChainBuilder(): ChainBuilder

    For internal use only

    For internal use only

    returns

    a ChainBuilder

    Definition Classes
    ActionBuilder → Executable
    Annotations
    @Override()
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. 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()
  22. 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()
  23. 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()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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()
  28. 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()
  29. 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()
  30. 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()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ActionBuilder

Inherited from Executable

Inherited from AnyRef

Inherited from Any

Ungrouped