Jitter

sealed abstract class Jitter[F[_]]

Jitter represents the ability to apply jitter to an existing value n, effectively multiplying n with a pseudorandom value between 0 and 1 (both inclusive, although implementation dependent).

The default Jitter#default uses java.util.Random for pseudorandom values and always applies jitter with a value between 0 (inclusive) and 1 (exclusive). If no jitter is desired, use Jitter#none.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def withJitter(n: Double): F[Double]