Examples of forResource()


Examples of org.rhq.core.domain.discovery.AvailabilityReport.forResource()

                // although the data came from the agent this should be processed like a server-side report
                // because it was requested and initiated by the server (bz 1094540).  The availabilities will
                // still be merged but certain backfill logic will remain unscathed.
                report.setServerSideReport(true);

                AvailabilityType foundAvail = report.forResource(res.getId());
                if (foundAvail != null) {
                    availabilityManager.mergeAvailabilityReport(report);
                } else {
                    foundAvail = res.getCurrentAvailability() == null ? AvailabilityType.UNKNOWN : res
                        .getCurrentAvailability().getAvailabilityType();
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.