com.ibm.rational.test.lt.execution.results.data.aggregation.aggregators
Class RateAggregator
java.lang.Object
com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter
com.ibm.rational.test.lt.execution.results.data.aggregation.Aggregator
com.ibm.rational.test.lt.execution.results.data.aggregation.StandardAggregator
com.ibm.rational.test.lt.execution.results.data.aggregation.aggregators.RateAggregator
- All Implemented Interfaces:
- com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator, org.eclipse.emf.common.notify.Adapter
public class RateAggregator
- extends com.ibm.rational.test.lt.execution.results.data.aggregation.StandardAggregator
Aggregates the rate at which statistical events occur. May be deployed as a node singleton or a non-singleton.
2 Targets Required in this order:
-- SDCounterDescriptor for Cumulative Rate
-- SDCounterDescriptor for interval Rate
2 dependencies required in this order:
-- SDCounterDescriptor containing the integer value (event) for which a rate will be calculated
-- SDCounterDescriptor Run/Run Duration/Scalar cumulative
An example of this Aggregator deployed as a node singleton follows:
Note: When RateAggregator is deployed as a node singleton as shown above, the "Rate interval" and "Rate For Run"
counters are automatically created and filled for each individual target such as Page or Page Element. It
is not necessary to deploy an aggregator to calculate these individual target counters if a node-singleton
is already using the target as a dependency.
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Fields inherited from class com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter |
defaultSynchronizer, facade, latestTarget, obsoleteNotifiers, parentAdapter, targets |
Method Summary |
void |
cleanup()
|
com.ibm.rational.test.lt.execution.results.data.collections.StringList |
getFirstTargetPath()
|
AggregationJob |
getJob()
|
Aggregator.DataRepresentation |
getSmoothedRepresentation(com.ibm.rational.test.lt.execution.results.view.data.RPTDataQuery dataset,
org.eclipse.hyades.model.statistical.SDSnapshotObservation observation,
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRange timeRange,
int numPoints,
double startTime,
double endTime,
String label)
|
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification)
|
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
|
Methods inherited from class com.ibm.rational.test.lt.execution.results.data.aggregation.StandardAggregator |
getLastContiguousValue, getLastDiscreteValue |
Methods inherited from class com.ibm.rational.test.lt.execution.results.data.aggregation.Aggregator |
_getSmoothedRepresentation, clearData, convertSampleTimeToSystemTime, convertToTimeRangeRelativeTime, debugStop, debugStop, debugStop, getActiveNotifiers, getBasePathList, getConfigElement, getDescriptorClassificationString, getJobProcessingNodeName, getNodeName, getNotifiers, getSampleIntervalWidth, getSampleWindowIndex, getTargetDescriptor, getTargetDescriptorCount, getTargetDescriptors, getValueAddedByNotifier, initTargetDescriptors, isCritical, isStarted, logAddDataEvent, queJob, registerObservationAdapter, resolveDescriptorPath, setBasePathList, setConfigElement, setCritical, setRunBasedTime, setTargetNodeName, setTimeRange, setWildCardSubs, siftForSpecificCollection, startup, usesRunBasedTime |
Methods inherited from class com.ibm.rational.test.lt.execution.results.internal.data.adapters.RPTStatisticalAdapter |
adapt, adapt, adapt, adapt, getFacade, getParentAdapter, getTarget, getTargetCollection, getTimeRange, isAdapterForType, isObsolete, registerForCleanup, retainAtTimeRangeCompletion, setFacade, setObsolete, setObsolete, setObsolete, unAdapt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator |
setFacade |
responsibleForRIServicing
protected boolean responsibleForRIServicing
responsibleForRCServicing
protected boolean responsibleForRCServicing
RateAggregator
public RateAggregator()
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
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
getSmoothedRepresentation
public Aggregator.DataRepresentation getSmoothedRepresentation(com.ibm.rational.test.lt.execution.results.view.data.RPTDataQuery dataset,
org.eclipse.hyades.model.statistical.SDSnapshotObservation observation,
com.ibm.rational.test.lt.execution.results.internal.data.aggregation.RPTTimeRange timeRange,
int numPoints,
double startTime,
double endTime,
String label)
throws Aggregator.UnsmoothableDataException
- Specified by:
getSmoothedRepresentation
in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
- Overrides:
getSmoothedRepresentation
in class Aggregator
- Throws:
Aggregator.UnsmoothableDataException
cleanup
public void cleanup()
- Specified by:
cleanup
in interface com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator
- Overrides:
cleanup
in class Aggregator
© Copyright IBM Corp. 2012. All rights reserved.