SlidingWindow

ox.resilience.SlidingWindow

Allows to configure how Metrics will be calculated

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class CountBased(windowSize: Int)

Window counting last n operations when calculating metrics.

Window counting last n operations when calculating metrics.

Value parameters

windowSize

number of last n results recorded.

Attributes

final case class TimeBased(duration: FiniteDuration)

Window counting operations in the lapse of duration before current time.

Window counting operations in the lapse of duration before current time.

Value parameters

duration

span of time in which results are included in metrics.

Attributes