|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpulling.executing.ServerSideExecuter
public abstract class ServerSideExecuter
This abstract class defines the services that should be implemented in a class that will be part of the execution layer on the Server side.
| Field Summary | |
|---|---|
static int |
NOT_IMPLEMENTED
This constant is returned when a method is not implemented |
| Constructor Summary | |
|---|---|
ServerSideExecuter()
|
|
| Method Summary | |
|---|---|
abstract long |
deleteJob(long id,
java.lang.String hostname,
java.lang.String password)
This method deletes the job with id "id" on hostname "hostname"\ |
abstract java.lang.String |
getDateStarted(long id,
java.lang.String hostname,
java.lang.String password)
|
abstract java.lang.String |
getDateStopped(long id,
java.lang.String hostname,
java.lang.String password)
|
abstract double |
getDateSubmitted(long id,
java.lang.String hostname,
java.lang.String password)
|
abstract java.lang.String |
getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
|
abstract double |
getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
|
abstract void |
startExecuter()
In this method the executer is set up. |
abstract void |
stopExecuter()
In this method the executer is stopped and streams are closed |
abstract long |
stopJob(long id,
java.lang.String hostname,
java.lang.String password)
This method stops the job with id "id" on hostname "hostname"\ |
abstract 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 |
| Field Detail |
|---|
public static final int NOT_IMPLEMENTED
| Constructor Detail |
|---|
public ServerSideExecuter()
| Method Detail |
|---|
public abstract void startExecuter()
public abstract void stopExecuter()
public abstract long submitLoopJob(java.lang.String hostName,
java.lang.String password,
java.lang.String workingDirectory,
long iter,
double ratio)
hostName - The hostname of the Server object to send the job to.password - The password of the Server object to send the job to.workingDirectory - iter - The iterations of the job.ratio - The ratio of the jobs.
public abstract long stopJob(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that jobpassword -
public abstract long deleteJob(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that jobpassword -
public abstract double getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that jobpassword -
public abstract double getDateSubmitted(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that job.password -
public abstract java.lang.String getDateStarted(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that job.password -
public abstract java.lang.String getDateStopped(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that jobpassword -
public abstract java.lang.String getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
id - is job idhostname - is the hostname of the server executing that jobpassword -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||