com.ibm.rational.test.lt.execution.results.data.aggregation.aggregators
Class PercentAggregator_NonInclusive
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.PercentAggregator_NonInclusive
- All Implemented Interfaces:
- com.ibm.rational.test.lt.execution.results.data.aggregation.IAggregator, org.eclipse.emf.common.notify.Adapter
public class PercentAggregator_NonInclusive
- extends com.ibm.rational.test.lt.execution.results.data.aggregation.StandardAggregator
Aggregates a percentage value. Differs from PercentAggregator in that it DOES NOT 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 non-primary dependencies is calculated. Optionally, the interval percentage may be calculated
by including a descriptor for its value to be placed in.
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 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 non-primary dependencies is calculated. In node-singleton mode, all like elements are considered together for the
calculation.
Optionally, the interval percentage may be calculated by including a descriptor for its value.
In this mode, 1 targets 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:
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 |
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, getSmoothedRepresentation, 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 |
PercentAggregator_NonInclusive
public PercentAggregator_NonInclusive()
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
© Copyright IBM Corp. 2012. All rights reserved.