Beispiel #1
0
 public AvailableCapacityProjection(HeatMapCapacityData heatMapData, CapacityProjectionData capacityData, int queryBufferPeriod, ByteQuantifiedSize averageMailboxSize, ILogger logger)
 {
     this.heatMapData        = heatMapData;
     this.capacityData       = capacityData;
     this.queryBufferPeriod  = queryBufferPeriod;
     this.averageMailboxSize = averageMailboxSize;
     this.logger             = logger;
 }
Beispiel #2
0
 public ConsumerSizeProjection(HeatMapCapacityData heatMapData, CapacityProjectionData capacityProjectionData, ByteQuantifiedSize averageMailboxSize, int queryBufferPeriod, double maxConsumerSizePercentage, ILogger logger)
 {
     this.heatMapData               = heatMapData;
     this.capacityProjectionData    = capacityProjectionData;
     this.averageMailboxSize        = averageMailboxSize;
     this.queryBufferPeriod         = queryBufferPeriod;
     this.maxConsumerSizePercentage = maxConsumerSizePercentage;
     this.logger = logger;
 }
		protected bool Equals(HeatMapCapacityData other)
		{
			return this.ConsumerSize.Equals(other.ConsumerSize) && this.OrganizationSize.Equals(other.OrganizationSize) && this.TotalCapacity.Equals(other.TotalCapacity) && object.Equals(this.Identity, other.Identity) && this.LogicalSize.Equals(other.LogicalSize) && this.TotalMailboxCount == other.TotalMailboxCount;
		}