executing
Class MapperSideExecuter_BuiltIn
java.lang.Object
executing.MapperSideExecuter
executing.MapperSideExecuter_BuiltIn
- All Implemented Interfaces:
- java.io.Serializable
public class MapperSideExecuter_BuiltIn
- extends MapperSideExecuter
- See Also:
- Serialized Form
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". |
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)
|
java.lang.String |
getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
|
double |
getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
|
int |
getServerPort()
|
static void |
main(java.lang.String[] args)
|
void |
setServerPort(int serverPort)
|
void |
startExecuter()
In this method the executer is set up. |
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,
int serverID,
long jobID,
long iteration,
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 |
MapperSideExecuter_BuiltIn
public MapperSideExecuter_BuiltIn()
getServerPort
public int getServerPort()
setServerPort
public void setServerPort(int serverPort)
deleteJob
public long deleteJob(long id,
java.lang.String hostname,
java.lang.String password)
- Description copied from class:
MapperSideExecuter
- This method deletes the job with id "id" on hostname "hostname".
- Specified by:
deleteJob
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job
- Returns:
- NOT_IMPLEMENTED if not implemented
getDateStarted
public java.lang.String getDateStarted(long id,
java.lang.String hostname,
java.lang.String password)
- Specified by:
getDateStarted
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job.
- Returns:
- the date when the job with id "id" has started.
getDateStopped
public java.lang.String getDateStopped(long id,
java.lang.String hostname,
java.lang.String password)
- Specified by:
getDateStopped
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job
- Returns:
- the date when the job with id "id" has stopped.
getJobStatus
public java.lang.String getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
- Specified by:
getJobStatus
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job
- Returns:
- the status of the job with id "id" (e.g. Runnung, Done)
getPercentageDone
public double getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
- Specified by:
getPercentageDone
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job
- Returns:
- the percentage done from job with job id "id"
startExecuter
public void startExecuter()
- Description copied from class:
MapperSideExecuter
- In this method the executer is set up.
- Specified by:
startExecuter
in class MapperSideExecuter
stopJob
public long stopJob(long id,
java.lang.String hostname,
java.lang.String password)
- Description copied from class:
MapperSideExecuter
- This method stops the job with id "id" on hostname "hostname"\
- Specified by:
stopJob
in class MapperSideExecuter
- Parameters:
id
- is job idhostname
- is the hostname of the server executing that job
- Returns:
- NOT_IMPLEMENTED if not implemented
submitLoopJob
public long submitLoopJob(java.lang.String hostName,
java.lang.String password,
int serverID,
long jobID,
long iteration,
double ratio)
- Description copied from class:
MapperSideExecuter
- This method is used by the Mapper to submit loop jobs
- Specified by:
submitLoopJob
in class MapperSideExecuter
- Returns:
- a number. Depends on the implementation.
main
public static void main(java.lang.String[] args)
- Parameters:
args
-