|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.enm.service.plugins.comps.COMPSsClient
public class COMPSsClient
COMPSs client for the execution of openModeller experiments.
| Constructor Summary | |
|---|---|
COMPSsClient(String endpoint)
Instantiates a new OModeller client. |
|
| Method Summary | |
|---|---|
int |
getCompletness(BESCredential besCred,
String[] jobIds)
|
List<JobProgress> |
getJobsProgress(BESCredential besCred,
String[] jobIds)
Retrieves the progress of concrete jobs. |
List<JobStatus> |
OModellerStatus(BESCredential besCred,
String[] jobIds)
Retrieves the status of a list of submitted jobs. |
String |
submitModel(BESCredential besCred,
StorageCredential cred,
Integer wallClockTime,
String VMImage,
Double diskSize,
Integer cores,
Double memory,
Integer minOfVMs,
Integer maxOfVMs,
String jobName,
String appLocation,
String logsDir,
String requests,
String testPoints,
String outputs)
Submit a OModeller Job to the COMPSs enactment service. |
List<String> |
terminateOModeller(BESCredential besCred,
String[] jobIds)
Terminate a list of submitted jobs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COMPSsClient(String endpoint)
endpoint - The endpoint of the COMPSs enactment service.tempDir - the temp dir| Method Detail |
|---|
public String submitModel(BESCredential besCred,
StorageCredential cred,
Integer wallClockTime,
String VMImage,
Double diskSize,
Integer cores,
Double memory,
Integer minOfVMs,
Integer maxOfVMs,
String jobName,
String appLocation,
String logsDir,
String requests,
String testPoints,
String outputs)
besCred - the BES credential.cred - the FTP Storage credential.appLocation - the CDMI URI of the application.diskSize - Set the size of the needed disk size in GB.minOfVMs - the minimum number of VMs allowed in the execution.maxOfVMs - the maximum number of VMs allowed in the execution.inputSequence - Path of the sequence file in the storage (relative to the user home).dataBase - Path of the database file in the storage (relative to the user home).numFragments - Number of sequence fragments.outputFile - Path of the OModeller output in the storage (relative to the user home).commandArgs - Command line arguments for blastall binary.
public List<JobStatus> OModellerStatus(BESCredential besCred,
String[] jobIds)
besCred - the BES credential.jobIds - Array of job IDs. One job is supported in this version.
public List<JobProgress> getJobsProgress(BESCredential besCred,
String[] jobIds)
besCred - the BES credential.jobIds - The IDs of the retrieved jobs.
public List<String> terminateOModeller(BESCredential besCred,
String[] jobIds)
besCred - the BES credential.jobIds - Array of job IDs
public int getCompletness(BESCredential besCred,
String[] jobIds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||