case classRejectFailter[Req, Rep](probability: Var[Double], rejectWith: () ⇒ Throwable = ..., seed: Long = Failter.DefaultSeed, stats: StatsReceiver = ...) extends SimpleFilter[Req, Rep] with Failter with Product with Serializable
Randomly creates a Future.exception with the specified exception class before calling downstream
filters and services. Probability is in [0,1] where 0 means no failures.
probability
rejectWith
A class to reject with. Must have a no-arguments constructor.
seed
A random seed, otherwise a deterministic seed is used.
Randomly creates a Future.exception with the specified exception class before calling downstream filters and services. Probability is in [0,1] where 0 means no failures.
A class to reject with. Must have a no-arguments constructor.
A random seed, otherwise a deterministic seed is used.