FailoverReasonsHandler

Determines the most frequent warnings encountered based on the warnings received from a continuous frame analysis results feed.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getTopFailedReasons(maxReasons: Int = DEFAULT_REASONS_LIMIT, minReasonPercentage: Int = DEFAULT_PERCENTAGE_THRESHOLD): List<UserAction>

Builds an ordered list of UserAction from most frequent to least frequent.

Link copied to clipboard

Handles and keeps track of the list of warnings from an analyzed frame.

Link copied to clipboard
fun reset()

Resets the internal state and counters.