| Modifier and Type | Method and Description |
|---|---|
String |
buildCheckAllJobsCommand()
Build the command to check the information of all jobs in the execution
environment.
|
String |
buildCheckEnvironmentCommand() |
String |
buildCheckJobCommand(csbase.sga.executor.JobData jobData)
Build the command to check the information of a job.
|
String |
buildKillJobCommand(csbase.sga.executor.JobData jobData)
Build the command to kill a job in the execution environment.
|
String |
buildSubmitJobCommand(String script,
Map<String,String> extraParam)
Build the command to submit a job in the execution environment.
|
void |
init(Properties properties) |
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckAllJobsOutput(String output)
Parse the output of the command to check all jobs in the execution environment.
|
csbase.sga.monitor.SGAInfo |
parseCheckEnvironmentOutput(String output) |
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckJobOutput(String output)
Parse the output of the command to check one job in the execution environment.
|
csbase.sga.executor.JobData |
parseJobSubmissionOutput(String output)
Parse the output of the command to submit a job in the execution
environment.
|
void init(Properties properties)
String buildSubmitJobCommand(String script, Map<String,String> extraParam)
script - scritp to executeextraParam - extra parameters to the execution environmentcsbase.sga.executor.JobData parseJobSubmissionOutput(String output)
output - the output to parseJobData representing the jobString buildCheckJobCommand(csbase.sga.executor.JobData jobData)
jobData - the JobData representing the jobString buildCheckAllJobsCommand()
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckJobOutput(String output)
output - the output to parseJobData and the corresponding JobInfoMap<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckAllJobsOutput(String output)
output - the output to parseJobData and the corresponding JobInfoString buildKillJobCommand(csbase.sga.executor.JobData jobData)
jobData - the JobData representing the jobString buildCheckEnvironmentCommand()
csbase.sga.monitor.SGAInfo parseCheckEnvironmentOutput(String output)
Copyright © 2016. All rights reserved.