case class PoissonOpenInjection(duration: FiniteDuration, startRate: Double, endRate: Double, seed: Long = System.nanoTime) extends OpenInjectionStep with Product with Serializable
Inject users following a Poisson random process, with a ramped injection rate.
A Poisson process models users arriving at a page randomly. You can specify the rate that users arrive at, and this rate can ramp-up.
Note that since this injector has an element of randomness, the total number of users may vary from run to run, depending on the seed.
- duration
the length of time this injector should run for
- startRate
initial injection rate for users
- endRate
final injection rate for users
- seed
a seed for the randomization. If the same seed is re-used, the same timings will be obtained
- Alphabetic
- By Inheritance
- PoissonOpenInjection
- Serializable
- Serializable
- Product
- Equals
- OpenInjectionStep
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PoissonOpenInjection(duration: FiniteDuration, startRate: Double, endRate: Double, seed: Long = System.nanoTime)
- duration
the length of time this injector should run for
- startRate
initial injection rate for users
- endRate
final injection rate for users
- seed
a seed for the randomization. If the same seed is re-used, the same timings will be obtained
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
chain(chained: Iterator[FiniteDuration]): Iterator[FiniteDuration]
Iterator of time deltas in between any injected user and the beginning of the simulation
Iterator of time deltas in between any injected user and the beginning of the simulation
- Definition Classes
- PoissonOpenInjection → OpenInjectionStep
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val duration: FiniteDuration
- val endRate: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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()
- val seed: Long
- val startRate: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
users: Long
Number of users to inject
Number of users to inject
- Definition Classes
- PoissonOpenInjection → OpenInjectionStep
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )