Package org.rhq.core.domain.measurement.composite

Examples of org.rhq.core.domain.measurement.composite.MeasurementOOBComposite


            //  add outlier data
            List<AggregateNumericMetric> datas = getOneHourDataForPKs(pks);
            for (AggregateNumericMetric data : datas) {
                MeasurementDataPK pk = new MeasurementDataPK(data.getTimestamp(), data.getScheduleId());
                MeasurementOOBComposite comp = map.get(pk);
                comp.setDataMin(data.getMin());
                comp.setDataMax(data.getMax());

                comp.calculateOutlier();
            }

        }

        return new PageList<MeasurementOOBComposite>(results, (int) totalCount, pc);
View Full Code Here


            }
            // compute and add the outlier data
            List<AggregateNumericMetric> datas = getOneHourDataForPKs(pks);
            for (AggregateNumericMetric data : datas) {
                MeasurementDataPK pk = new MeasurementDataPK(data.getTimestamp(), data.getScheduleId());
                MeasurementOOBComposite comp = map.get(pk);
                comp.setDataMin(data.getMin());
                comp.setDataMax(data.getMax());

                comp.calculateOutlier();
            }
        }
        // return the result
        long totalCount = (Long) countQuery.getSingleResult();
        PageList<MeasurementOOBComposite> result = new PageList<MeasurementOOBComposite>(results, (int) totalCount, pc);
View Full Code Here

            }
            // compute and add the outlier data
            List<AggregateNumericMetric> datas = getOneHourDataForPKs(pks);
            for (AggregateNumericMetric data : datas) {
                MeasurementDataPK pk = new MeasurementDataPK(data.getTimestamp(), data.getScheduleId());
                MeasurementOOBComposite comp = map.get(pk);
                comp.setDataMin(data.getMin());
                comp.setDataMax(data.getMax());

                comp.calculateOutlier();
            }
        }
        // return the result
        long totalCount = (Long) countQuery.getSingleResult();
        PageList<MeasurementOOBComposite> result = new PageList<MeasurementOOBComposite>(results, (int) totalCount, pc);
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.measurement.composite.MeasurementOOBComposite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.