Table of Contents

Class RollingDistributionStream<Event>

Namespace
Steeltoe.CircuitBreaker.Hystrix.Metric.Consumer
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RollingDistributionStream<Event> : RollingDistributionStreamBase where Event : IHystrixEvent

Type Parameters

Event
Inheritance
RollingDistributionStream<Event>
Derived
Inherited Members

Constructors

RollingDistributionStream(IHystrixEventStream<Event>, int, int, Func<LongHistogram, Event, LongHistogram>)

protected RollingDistributionStream(IHystrixEventStream<Event> stream, int numBuckets, int bucketSizeInMs, Func<LongHistogram, Event, LongHistogram> addValuesToBucket)

Parameters

stream IHystrixEventStream<Event>
numBuckets int
bucketSizeInMs int
addValuesToBucket Func<LongHistogram, Event, LongHistogram>

Properties

Latest

public CachedValuesHistogram Latest { get; }

Property Value

CachedValuesHistogram

LatestMean

public int LatestMean { get; }

Property Value

int

Methods

GetLatestPercentile(double)

public int GetLatestPercentile(double percentile)

Parameters

percentile double

Returns

int

Observe()

public IObservable<CachedValuesHistogram> Observe()

Returns

IObservable<CachedValuesHistogram>

StartCachingStreamValuesIfUnstarted()

public void StartCachingStreamValuesIfUnstarted()

Unsubscribe()

public void Unsubscribe()