Пример #1
0
 public void LogAggregate(string name, Reporting.AggregateType type, double value, Int64 count, T time)
 {
     if (this.aggregateDouble != null)
     {
         this.aggregateDouble.GetBufferForTime(time).Send(name.PairWith(new ReportingRecord <double>(value, count, type)));
     }
 }
Пример #2
0
 public void LogAggregate(string name, Reporting.AggregateType type, double value, Int64 count, T time)
 {
     if (this.aggregateDouble != null)
     {
         this.aggregateDouble.Send(new Pair <string, ReportingRecord <double> >(name, new ReportingRecord <double>(value, count, type)), time);
     }
 }
Пример #3
0
 public void LogAggregate(string name, Reporting.AggregateType type, double value, T time)
 {
     this.LogAggregate(name, type, value, 1, time);
 }
Пример #4
0
 public ReportingRecord(R r, Int64 c, Reporting.AggregateType t)
 {
     payload = r;
     count   = c;
     type    = t;
 }