public interface DriftServerService
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.drift.DriftSnapshot |
getCurrentSnapshot(int driftDefinitionId) |
Map<Integer,List<org.rhq.core.domain.drift.DriftDefinition>> |
getDriftDefinitions(Set<Integer> resourceIds) |
org.rhq.core.domain.drift.DriftSnapshot |
getSnapshot(int driftDefinitionId,
int startVersion,
int endVersion) |
void |
repeatChangeSet(int resourceId,
String driftDefName,
int version) |
void |
sendChangesetZip(int resourceId,
long zipSize,
InputStream zipStream)
The agent invokes this method to send a change set in a zip file.
|
void |
sendFilesZip(int resourceId,
String driftDefName,
String token,
long zipSize,
InputStream zipStream)
The agent invokes this method to send change set content to the server.
|
void |
updateCompliance(int resourceId,
String drfitDefName,
org.rhq.core.domain.drift.DriftComplianceStatus complianceStatus) |
void sendChangesetZip(int resourceId,
long zipSize,
InputStream zipStream)
ChangeSetWriter. This
method starts the following work flow:
resourceId - The id of the resource to which this change set belongs. This
parameter may obsolete since the resource id is specified in the change set headers.zipSize - The total number of bytes to be streamedzipStream - A RemoteInputStream@Asynchronous(guaranteedDelivery=true) void sendFilesZip(int resourceId, String driftDefName, String token, long zipSize, InputStream zipStream)
resourceId - The id of the resource to which the change set content belongsdriftDefName - The drift definition name. This is needed for the
acknowledgement step.token - A token needed for the acknowledgement step that allows the agent to
uniquely identify the zip file that was sent.zipSize - The total number of bytes to be streamed.zipStream - A RemoteStream@Asynchronous void repeatChangeSet(int resourceId, String driftDefName, int version)
Map<Integer,List<org.rhq.core.domain.drift.DriftDefinition>> getDriftDefinitions(Set<Integer> resourceIds)
resourceIds - The resourceIds for which to fetch definitions.org.rhq.core.domain.drift.DriftSnapshot getCurrentSnapshot(int driftDefinitionId)
org.rhq.core.domain.drift.DriftSnapshot getSnapshot(int driftDefinitionId,
int startVersion,
int endVersion)
void updateCompliance(int resourceId,
String drfitDefName,
org.rhq.core.domain.drift.DriftComplianceStatus complianceStatus)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.