http4k / org.http4k.chaos / ChaosTriggers
object ChaosTriggers
Name | Summary |
---|---|
Always | Applies to every transaction.object Always |
Countdown | Activates for a maximum number of calls.object Countdown |
Deadline | Activates after a particular instant in time.object Deadline |
Delay | Activates after a particular delay (compared to instantiation).object Delay |
MatchRequest | Activates when matching attributes of a single received request are met.object MatchRequest |
Once | Single application predicated on the ChaosTrigger. Further matches don’t applyobject Once |
PercentageBased | Applies n% of the time, based on result of a Random.object PercentageBased |