Examples of loadMeasurementData()


Examples of org.jboss.on.embedded.bean.MeasurementUtils.loadMeasurementData()

        ResourceListItem resourceListItem = new ResourceListItem(resource, new Availability(resource, new Date(), AvailabilityType.UP));

        MeasurementUtils measurementUtils = new MeasurementUtils(resourceListItem);

        List<MeasurementData> measurementDataList = measurementUtils.loadMeasurementData(null, DataType.TRAIT);
        assert measurementDataList != null : "measurements were null";
        assert measurementDataList.size() == 2 : "2 measurement(s) were expected, but " + measurementDataList.size() + " were found.";

        for (MeasurementData md : measurementDataList)
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.