C# Class metrics.Reporting.HumanReadableReportFormatter

Inheritance: IReportFormatter
显示文件 Open project: ucdavis/metrics-net

Public Methods

Method Description
GetSample ( ) : string

Protected Methods

Method Description
Abbreviate ( TimeUnit unit ) : string
WriteCounter ( StringBuilder sb, metrics.Core.CounterMetric counter ) : void
WriteGauge ( StringBuilder sb, GaugeMetric gauge ) : void
WriteHistogram ( StringBuilder sb, metrics.Core.HistogramMetric histogram ) : void
WriteMetered ( StringBuilder sb, IMetered meter ) : void
WriteTimer ( StringBuilder sb, TimerMetric timer ) : void

Method Details

Abbreviate() protected static method

protected static Abbreviate ( TimeUnit unit ) : string
unit TimeUnit
return string

GetSample() public method

public GetSample ( ) : string
return string

WriteCounter() protected method

protected WriteCounter ( StringBuilder sb, metrics.Core.CounterMetric counter ) : void
sb StringBuilder
counter metrics.Core.CounterMetric
return void

WriteGauge() protected method

protected WriteGauge ( StringBuilder sb, GaugeMetric gauge ) : void
sb StringBuilder
gauge metrics.Core.GaugeMetric
return void

WriteHistogram() protected method

protected WriteHistogram ( StringBuilder sb, metrics.Core.HistogramMetric histogram ) : void
sb StringBuilder
histogram metrics.Core.HistogramMetric
return void

WriteMetered() protected method

protected WriteMetered ( StringBuilder sb, IMetered meter ) : void
sb StringBuilder
meter IMetered
return void

WriteTimer() protected method

protected WriteTimer ( StringBuilder sb, TimerMetric timer ) : void
sb StringBuilder
timer TimerMetric
return void