com.ibm.rational.test.lt.execution.results.data.aggregation.aggregators

Class PercentAggregator

  • All Implemented Interfaces:
    com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator, org.eclipse.emf.common.notify.Adapter


    public class PercentAggregator
    extends com.ibm.rational.test.lt.execution.results.data.aggregation.StandardAggregator
    Aggregates a percentage value. Differs from PercentAggregator_NonInclusive in that it DOES include the primary descriptor in the "total" (or denominator) for percentage calculation. May be deployed in node-singleton or non-singleton mode. When deployed as a non-singleton, the percentage of the primary descriptor(s) cumulative value as compared to the sum of the cumulative values for all dependencies is calculated. Optionally, the interval percentage may be calculated by including a descriptor for its value. In this mode, 1 target is required: -- SDCounterDescriptor for cumulative percentage value 1 target is optional -- SDCounterDescriptor for interval percentage value At least 2 dependencies are required with AT LEAST 1 marked as "primary": -- SDCounterDescriptors for value to be included in percentage calculation. A sample non-singleton deployment of ths aggregator is as follows: When deployed as a node-singleton, the cumulative Percentage of all primary dependencies as compared to the total value of all dependencies is calculated. Optionally, the interval percentage may be calculated by including a descriptor for the said value to be placed into. In node-singleton mode, all like elements are considered together for the calculation. In this mode, 1 target is required and must be 1st: -- SDCounterDescriptor for cumulative percentage value 1 target is optional -- SDCounterDescriptor for interval percentage value. At least 2 dependencies are required with AT LEAST 1 marked as "primary": -- SDCounterDescriptors for value to be included in percentage calculation. A sample deployment of this aggregator as a node-singleton is as follows:
    • Constructor Detail

      • PercentAggregator

        public PercentAggregator()
    • Method Detail

      • getJob

        public AggregationJob getJob()
        Specified by:
        getJob in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
        Specified by:
        getJob in class Aggregator
      • notifyChanged

        public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
        Specified by:
        notifyChanged in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
        Specified by:
        notifyChanged in interface org.eclipse.emf.common.notify.Adapter
        Overrides:
        notifyChanged in class Aggregator
      • setTarget

        public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
        Specified by:
        setTarget in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
        Specified by:
        setTarget in interface org.eclipse.emf.common.notify.Adapter
        Overrides:
        setTarget in class Aggregator
      • cleanup

        public void cleanup()
        Specified by:
        cleanup in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
        Overrides:
        cleanup in class Aggregator
      • getFirstTargetPath

        public com.ibm.rational.test.lt.execution.results.data.collections.StringList getFirstTargetPath()
        Specified by:
        getFirstTargetPath in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
        Specified by:
        getFirstTargetPath in class Aggregator
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.