|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationServerService
The interface to a JON server's operation subsystem.
| Method Summary | |
|---|---|
void |
operationFailed(String jobId,
Configuration result,
ExceptionPackage error,
long invocationTime,
long completionTime)
Called by the agent when a server-scheduled operation fails. |
void |
operationSucceeded(String jobId,
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. |
| Method Detail |
|---|
@Asynchronous(guaranteedDelivery=true)
void operationSucceeded(String jobId,
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,
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 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||