Examples of requestDriftFiles()


Examples of org.rhq.core.clientapi.agent.drift.DriftAgentService.requestDriftFiles()

            // send a message to the agent requesting the necessary JPADriftFile content. Note that the
            // driftFile status has been set to REQUESTED outside of this call.
            if (!driftFilesToRequest.isEmpty()) {
                try {
                    service.requestDriftFiles(resourceId, headers, driftFilesToRequest);

                } catch (Exception e) {
                    LOG.warn("Unable to inform agent of drift file request  [" + driftFilesToRequest + "]", e);
                }
            }
View Full Code Here

Examples of org.rhq.core.clientapi.agent.drift.DriftAgentService.requestDriftFiles()

                // it receives the ACK. Secondly, we need to tell the agent to send the
                // actual file bits for any change set content we do not have.
                DriftAgentService driftService = getDriftAgentService(resourceId);
                driftService.ackChangeSet(headers.getResourceId(), headers.getDriftDefinitionName());
                if (!missingContent.isEmpty()) {
                    driftService.requestDriftFiles(resourceId, headers, missingContent);
                }

                return true;
            }
        });
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.