final class SharedQueueTakeBuilder extends ActionBuilder
Builder of an action that pops the oldest value of a queue into the virtual user's Session, waiting for one to be available if the queue is empty.
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- SharedQueueTakeBuilder
- 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 build(ctx: ScenarioContext, next: Action): Action
- ctx
the scenario context
- next
the action that will be chained with the Action build by this builder
- returns
the resulting action
- Definition Classes
- SharedQueueTakeBuilder → ActionBuilder
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout(newTimeoutSeconds: Int): SharedQueueTakeBuilder
Give up after the given number of seconds instead of waiting forever.
Give up after the given number of seconds instead of waiting forever. The virtual user is then marked as failed and moves on, and the Session attribute is left untouched.
Timeouts are only meant to avoid stalling virtual users forever, so they're best effort: expired virtual users are released periodically, hence they can wait up to one extra second.
- def timeout(newTimeout: FiniteDuration): SharedQueueTakeBuilder
Give up after the given duration instead of waiting forever.
Give up after the given duration instead of waiting forever. The virtual user is then marked as failed and moves on, and the Session attribute is left untouched.
Timeouts are only meant to avoid stalling virtual users forever, so they're best effort: expired virtual users are released periodically, hence they can wait up to one extra second.
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()