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 asScala(): core.action.builder.ActionBuilder
For internal use only
For internal use only
- returns
the wrapped Scala instance
- Definition Classes
- SharedQueueTakeBuilder → 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout(timeout: 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.
- timeout
the maximum number of seconds the virtual user waits for a value
- returns
a new SharedQueueTakeBuilder
- Annotations
- @NonNull()
- def timeout(timeout: Duration): 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.
- timeout
the maximum duration the virtual user waits for a value
- returns
a new SharedQueueTakeBuilder
- Annotations
- @NonNull()
- 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
- 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()