Class RollingDistributionStream<Event>
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
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
streamIHystrixEventStream<Event>numBucketsintbucketSizeInMsintaddValuesToBucketFunc<LongHistogram, Event, LongHistogram>
Properties
Latest
public CachedValuesHistogram Latest { get; }
Property Value
LatestMean
public int LatestMean { get; }
Property Value
Methods
GetLatestPercentile(double)
public int GetLatestPercentile(double percentile)
Parameters
percentiledouble
Returns
Observe()
public IObservable<CachedValuesHistogram> Observe()
Returns
StartCachingStreamValuesIfUnstarted()
public void StartCachingStreamValuesIfUnstarted()
Unsubscribe()
public void Unsubscribe()