|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexecuting.MapperSideExecuter
public abstract class MapperSideExecuter
This abstract class defines the services that should be implemented in a class that will be part of the execution layer on the Mapper side.
Field Summary | |
---|---|
static int |
NOT_IMPLEMENTED
This constant is returned when a method is not implemented |
Constructor Summary | |
---|---|
MapperSideExecuter()
|
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 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 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,
int serverID,
long jobID,
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 MapperSideExecuter()
Method Detail |
---|
public abstract void startExecuter()
public abstract long submitLoopJob(java.lang.String hostName, java.lang.String password, int serverID, long jobID, long iter, double ratio)
hostName
- password
- serverID
- jobID
- iter
- ratio
-
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 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 |