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

Class AggregationJob

  • java.lang.Object
    • com.ibm.rational.test.lt.execution.results.data.aggregation.AggregationJob
  • Direct Known Subclasses:
    RateAggregator.RateJob


    public abstract class AggregationJob
    extends Object
    Submitted by Aggregators for data processing during each sample interval
    • Constructor Detail

      • AggregationJob

        public AggregationJob(Aggregator aggregator)
        constructor
    • Method Detail

      • processAddedDataForSampleInterval

        protected abstract void processAddedDataForSampleInterval(AggregationTimeBand timeBand)
                                                           throws AggregationException
        called by the Aggregation infrastructure for a job to process the data held by its parent Aggregator
        Parameters:
        timeBand -
        Throws:
        AggregationException
      • run

        public void run()
                 throws AggregationException
        called by infrastructure for a job to process the data held by its parent Aggregator. In most cases, it is not necessary for implementors to override this method. In most cases, implementation of processAddedDataForSampleInterval is sufficient.
        Throws:
        AggregationException
      • getAggregator

        public Aggregator getAggregator()
        Returns:
        Returns the job's parent agregator.
      • isPreviouslyAttempted

        public boolean isPreviouslyAttempted()
        returns a boolean indicating whether or not this job has been attempted previously.
        Returns:
        boolean
      • setPreviouslyAttempted

        public final void setPreviouslyAttempted(boolean previouslyAttempted)
        sets the flag on this AggregationJob to indicate that it has been previously attempted. Jobs are only tried twice.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.