Ejemplo n.º 1
0
        public void Start()
        {
            AggregationSettings settings = new AggregationSettings()
            {
                EnableExpirationClock           = AggregationDefaults.FarmEnableExpirationClock,
                ExpireAggregationClockFrequency = this.ExpireAggregationClockFrequency,
                ExtraExpirationWaitTime         = this.ExtraExpirationWaitTime,
                ClockExpirationWaitTime         = this.ClockExpirationWaitTime
            };

            this.synopsis = new RollupAggregationSynopsis(
                this.processEvent != null ? this.processEvent : this.ConsumeMetricEvent,
                settings);
        }
Ejemplo n.º 2
0
        void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (disposing)
                {
                    if (this.synopsis != null)
                    {
                        this.synopsis.Dispose();
                        this.synopsis = null;
                    }
                }

                this.disposed = true;
            }
        }
Ejemplo n.º 3
0
 public void Stop()
 {
     // On stop, any state is discarded.  No output is issued for pending aggregations.
     this.synopsis.Dispose();
     this.synopsis = null;
 }