|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpulling.executing.ServerSideExecuter
pulling.executing.ServerSideExecuter_Xgrid
public class ServerSideExecuter_Xgrid
Field Summary |
---|
Fields inherited from class pulling.executing.ServerSideExecuter |
---|
NOT_IMPLEMENTED |
Constructor Summary | |
---|---|
ServerSideExecuter_Xgrid(java.lang.String mapperHostName,
java.lang.String password)
|
Method Summary | |
---|---|
long |
deleteJob(long id,
java.lang.String hostname,
java.lang.String password)
This method deletes the job with id "id" on hostname "hostname"\ |
double |
getActiveCPU(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getDateStarted(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getDateStopped(long id,
java.lang.String hostname,
java.lang.String password)
|
double |
getDateSubmitted(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getKeyBeforeEqual(java.lang.String input)
|
double |
getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getValueAfterEqual(java.lang.String input)
|
void |
startExecuter()
In this method the executer is set up. |
void |
stopExecuter()
In this method the executer is stopped and streams are closed |
long |
stopJob(long id,
java.lang.String hostname,
java.lang.String password)
This method stops the job with id "id" on hostname "hostname"\ |
long |
submitLoopJob(java.lang.String hostName,
java.lang.String password,
java.lang.String workingDirectory,
long iter,
double ratio)
This method is used by the Mapper to submit loop jobs |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerSideExecuter_Xgrid(java.lang.String mapperHostName, java.lang.String password)
Method Detail |
---|
public void startExecuter()
ServerSideExecuter
startExecuter
in class ServerSideExecuter
public void stopExecuter()
ServerSideExecuter
stopExecuter
in class ServerSideExecuter
public long submitLoopJob(java.lang.String hostName, java.lang.String password, java.lang.String workingDirectory, long iter, double ratio)
ServerSideExecuter
submitLoopJob
in class ServerSideExecuter
hostName
- The hostname of the Server object to send the job to.password
- The password of the Server object to send the job to.iter
- The iterations of the job.ratio
- The ratio of the jobs.
ServerSideExecuter.submitLoopJob(java.lang.String, java.lang.String, java.lang.String, long, double)
public double getPercentageDone(long id, java.lang.String hostname, java.lang.String password)
getPercentageDone
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job
ServerSideExecuter.getPercentageDone(long, java.lang.String, java.lang.String)
public double getDateSubmitted(long id, java.lang.String hostname, java.lang.String password)
getDateSubmitted
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job.
ServerSideExecuter.getDateSubmitted(long, String, String)
public java.lang.String getDateStarted(long id, java.lang.String hostname, java.lang.String password)
getDateStarted
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job.
ServerSideExecuter.getDateStarted(long, String, String)
public java.lang.String getDateStopped(long id, java.lang.String hostname, java.lang.String password)
getDateStopped
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job
ServerSideExecuter.getDateStopped(long, String, String)
public java.lang.String getJobStatus(long id, java.lang.String hostname, java.lang.String password)
getJobStatus
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job
ServerSideExecuter.getJobStatus(long, String, String)
public double getActiveCPU(long id, java.lang.String hostname, java.lang.String password)
id
- the id of the jobhostname
- the address of the serverpassword
- the password is use in authentication to access server hostname
public long stopJob(long id, java.lang.String hostname, java.lang.String password)
ServerSideExecuter
stopJob
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job
ServerSideExecuter.stopJob(long, String, String)
public long deleteJob(long id, java.lang.String hostname, java.lang.String password)
ServerSideExecuter
deleteJob
in class ServerSideExecuter
id
- is job idhostname
- is the hostname of the server executing that job
ServerSideExecuter.deleteJob(long, String, String)
public java.lang.String getKeyBeforeEqual(java.lang.String input)
input
- String
public java.lang.String getValueAfterEqual(java.lang.String input)
input
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |