Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for Queue-based Elasticity Param objects
 /// </summary>
 /// <param name="queueParam">Queue-Specific Elasticity Parameter Object</param>
 /// <param name="arrayBounds">Bounds object defining the boundaries fo the array</param>
 /// <param name="arrayPacing">Pacing object defining the pace at which the array will grow and shrink</param>
 /// <param name="arrayScheduleEntries">Schedule object defining the times for which this ruleset is valid</param>
 public ElasticityParam(QueueSpecificParam queueParam, Bound arrayBounds, Pacing arrayPacing, List <ScheduleEntry> arrayScheduleEntries)
 {
     this.queue_specific_params = queueParam;
     setSharedProperties(arrayBounds, arrayPacing, arrayScheduleEntries);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Private set method to handle common properties between two types of Elasticity Param objects
 /// </summary>
 /// <param name="arrayBounds">Bounds object defining the boundaries fo the array</param>
 /// <param name="arrayPacing">Pacing object defining the pace at which the array will grow and shrink</param>
 /// <param name="arrayScheduleEntries">Schedule object defining the times for which this ruleset is valid</param>
 private void setSharedProperties(Bound arrayBounds, Pacing arrayPacing, List <ScheduleEntry> arrayScheduleEntries)
 {
     this.bounds           = arrayBounds;
     this.pacing           = arrayPacing;
     this.schedule_entries = arrayScheduleEntries;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Cosntructor for Alert-based Elasticity Param objects
 /// </summary>
 /// <param name="alertParam">Alert-specific Elasticity Parameter Object</param>
 /// <param name="arrayBounds">Bounds object defining the boundaries fo the array</param>
 /// <param name="arrayPacing">Pacing object defining the pace at which the array will grow and shrink</param>
 /// <param name="arrayScheduleEntries">Schedule object defining the times for which this ruleset is valid</param>
 public ElasticityParam(AlertSpecificParam alertParam, Bound arrayBounds, Pacing arrayPacing, List <ScheduleEntry> arrayScheduleEntries)
 {
     this.alert_specific_params = alertParam;
     setSharedProperties(arrayBounds, arrayPacing, arrayScheduleEntries);
 }