public AggregationSynopsisBase(ProcessMetricEvent outputEventCallback, AggregationSettings settings)
        {
            this.outputEventCallback = outputEventCallback;
            this.timeWindowQueueMap  = new Dictionary <AggregateGroupKey, TQueue>();
            this.OutputEventQueue    = new Queue <MetricEvent>();
            this.Settings            = settings;
            this.ThisLock            = new object();

            if (this.Settings.EnableExpirationClock)
            {
                this.clockGenerator = new ClockEventGenerator(settings.ExtraExpirationWaitTime);
                this.clockGenerator.ClockNotfication += new EventHandler(this.ClockNotfication);
            }
        }
Beispiel #2
0
 public AggregationProcessor(ProcessMetricEvent processEvent)
     : this()
 {
     this.processEvent = processEvent;
 }
 public RollupAggregationSynopsis(ProcessMetricEvent outputEventCallback, AggregationSettings settings)
     : base(outputEventCallback, settings)
 {
 }
Beispiel #4
0
 public AggregationProcessor(ProcessMetricEvent processEvent)
     : this()
 {
     this.processEvent = processEvent;
 }