|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.enm.service.ExecutionResource
org.gcube.application.enm.service.plugins.comps.COMPsExecutionResource
public class COMPsExecutionResource
Extends the ExecutionResource for the COMPSs provider.
| Field Summary |
|---|
| Fields inherited from class org.gcube.application.enm.service.ExecutionResource |
|---|
isClient, logger |
| Constructor Summary | |
|---|---|
COMPsExecutionResource()
|
|
| Method Summary | |
|---|---|
void |
cancelExperiment(UUID uuid,
String jobId)
Cancels the job at the execution resource. |
void |
cleanExperimentOuput(UUID uuid,
String jobId)
Clean up the output of an experiment from the remote execution site. |
String |
getLogAsFile(org.gcube.application.enm.common.xml.logs.LogType log,
org.gcube.contentmanagement.blobstorage.service.IClient storageClient,
String credentials)
Retrieves the logs of the job from the execution resource storying as a file with the storage service. |
org.gcube.application.enm.common.xml.logs.ExperimentLogs |
getLogs(UUID uuid,
String jobId)
Retrieves the execution logs of the job from the execution resource. |
String |
getResultAsFile(org.gcube.application.enm.common.xml.results.ResultType result,
org.gcube.contentmanagement.blobstorage.service.IClient storageClient,
String credentials)
Retrieves the results of the job from the execution resource storying as a file with the storage service. |
org.gcube.application.enm.common.xml.results.ExperimentResults |
getResults(UUID uuid,
String jobId)
Retrieves the results of the job from the execution resource. |
org.gcube.application.enm.common.xml.status.ExperimentStatus |
getStatus(UUID uuid,
String jobId)
Retrieves the status of the job from the execution resource. |
String |
sumbitExperiment(UUID uuid,
org.gcube.application.enm.common.xml.request.ExperimentRequest params)
Submits and experiment to the execution resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COMPsExecutionResource()
| Method Detail |
|---|
public final String sumbitExperiment(UUID uuid,
org.gcube.application.enm.common.xml.request.ExperimentRequest params)
ExecutionResource
sumbitExperiment in class ExecutionResourceuuid - The unequally unique identifier of the experiment.params - The parameters of the experiment to submit.
public final org.gcube.application.enm.common.xml.status.ExperimentStatus getStatus(UUID uuid,
String jobId)
ExecutionResource
getStatus in class ExecutionResourceuuid - The unequally unique identifier of the experiment.jobId - The local identifier of the job to monitor in the resource.
public final org.gcube.application.enm.common.xml.results.ExperimentResults getResults(UUID uuid,
String jobId)
ExecutionResource
getResults in class ExecutionResourceuuid - The unequally unique identifier of the experiment.jobId - The local identifier of the job in the resource.
public final org.gcube.application.enm.common.xml.logs.ExperimentLogs getLogs(UUID uuid,
String jobId)
ExecutionResource
getLogs in class ExecutionResourceuuid - The unequally unique identifier of the experiment.jobId - The local identifier of the job in the resource.
public void cancelExperiment(UUID uuid,
String jobId)
ExecutionResource
cancelExperiment in class ExecutionResourceuuid - The unequally unique identifier of the experiment.jobId - The local identifier of the job to cancel in the resource.
public String getResultAsFile(org.gcube.application.enm.common.xml.results.ResultType result,
org.gcube.contentmanagement.blobstorage.service.IClient storageClient,
String credentials)
ExecutionResource
getResultAsFile in class ExecutionResourceresult - The result to store as file.storageClient - The storage service client.credentials - User credentials.
public String getLogAsFile(org.gcube.application.enm.common.xml.logs.LogType log,
org.gcube.contentmanagement.blobstorage.service.IClient storageClient,
String credentials)
ExecutionResource
getLogAsFile in class ExecutionResourcelog - The log to store as file.storageClient - The storage service client.credentials - User credentials.
public void cleanExperimentOuput(UUID uuid,
String jobId)
ExecutionResource
cleanExperimentOuput in class ExecutionResourceuuid - The unequally unique identifier of the experiment.jobId - The local identifier of the job in the resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||