StatsMonitor

public protocol StatsMonitor

Protocol identifying a statistics monitor.

  • References to monitored CircuitBreaker instances.

    Declaration

    Swift

    var refs: [StatsProvider]
  • Method to register a statistics provider.

    Declaration

    Swift

    func register(breakerRef: StatsProvider)

    Parameters

    breakerRef

    The StatsProvider to monitor.