public interface OperationServerService
| Modifier and Type | Method and Description |
|---|---|
void |
operationCanceled(String jobId,
org.rhq.core.domain.configuration.Configuration result,
ExceptionPackage error,
long invocationTime,
long canceledTime)
Called by the agent when a server-scheduled operation was canceled.
|
void |
operationFailed(String jobId,
org.rhq.core.domain.configuration.Configuration result,
ExceptionPackage error,
long invocationTime,
long completionTime)
Called by the agent when a server-scheduled operation fails.
|
void |
operationSucceeded(String jobId,
org.rhq.core.domain.configuration.Configuration result,
long invocationTime,
long completionTime)
Called by the agent when a server-scheduled operation completes successfully.
|
void |
operationTimedOut(String jobId,
long invocationTime,
long timeoutTime)
Called by the agent when a server-scheduled operation times out.
|
@Asynchronous(guaranteedDelivery=true) void operationSucceeded(String jobId, org.rhq.core.domain.configuration.Configuration result, long invocationTime, long completionTime)
jobId - the server-assigned unique job id for this operationresult - the result of the operationinvocationTime - the time at which the agent was asked to invoke the operation (epoch millis)completionTime - the time at which the operation completed (epoch millis)@Asynchronous(guaranteedDelivery=true) void operationFailed(String jobId, org.rhq.core.domain.configuration.Configuration result, ExceptionPackage error, long invocationTime, long completionTime)
jobId - the server-assigned unique job id for this operationresult - a result object that can be used to capture any information available
up to the point of failureerror - an exception describing why the operation failedinvocationTime - the time at which the agent was asked to invoke the operation (epoch millis)completionTime - the time at which the operation completed (i.e. failed) (epoch millis)@Asynchronous(guaranteedDelivery=true) void operationCanceled(String jobId, org.rhq.core.domain.configuration.Configuration result, ExceptionPackage error, long invocationTime, long canceledTime)
jobId - the server-assigned unique job id for this operationresult - a result object that can be used to capture any information available
up to the point of cancelation.error - an exception describing the cancelationinvocationTime - the time at which the agent was asked to invoke the operation (epoch millis)canceledTime - the time at which the operation was canceled (epoch millis)@Asynchronous(guaranteedDelivery=true) void operationTimedOut(String jobId, long invocationTime, long timeoutTime)
jobId - the server-assigned unique job id for this operationinvocationTime - the time at which the agent was asked to invoke the operation (epoch millis)timeoutTime - the time at which the operation timed out (epoch millis)Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.