|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpulling.executing.ServerSideExecuter
pulling.executing.ServerSideExecuter_BuiltIn
public class ServerSideExecuter_BuiltIn
Field Summary |
---|
Fields inherited from class pulling.executing.ServerSideExecuter |
---|
NOT_IMPLEMENTED |
Constructor Summary | |
---|---|
ServerSideExecuter_BuiltIn(java.lang.String mapperHostName)
|
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"\ |
int |
getCompletionServerPort()
|
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 |
getHostName()
|
java.lang.String |
getJobStatus(long id,
java.lang.String hostname,
java.lang.String password)
|
java.lang.String |
getMapperHostName()
|
java.lang.String |
getPassword()
|
double |
getPercentageDone(long id,
java.lang.String hostname,
java.lang.String password)
|
int |
getServerID()
|
int |
getServerPort()
|
boolean |
isAlive()
|
void |
loop(int iterations,
double ratio,
long ExecutionLayerID)
|
static void |
main(java.lang.String[] args)
|
void |
notifyMapper(long ExecutionLayerID)
|
void |
run()
|
void |
setAlive(boolean alive)
|
void |
setCompletionServerPort(int completionServerPort)
|
void |
setHostName(java.lang.String hostname)
|
void |
setMapperHostName(java.lang.String mapperHostName)
|
void |
setPassword(java.lang.String password)
|
void |
setServerID(int serverID)
|
void |
setServerPort(int serverPort)
|
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_BuiltIn(java.lang.String mapperHostName)
Method Detail |
---|
public boolean isAlive()
public void setAlive(boolean alive)
public int getServerPort()
public void setServerPort(int serverPort)
public java.lang.String getHostName()
public void setHostName(java.lang.String hostname)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public int getServerID()
public void setServerID(int serverID)
public java.lang.String getMapperHostName()
public void setMapperHostName(java.lang.String mapperHostName)
public int getCompletionServerPort()
public void setCompletionServerPort(int completionServerPort)
public void startExecuter()
ServerSideExecuter
startExecuter
in class ServerSideExecuter
public void stopExecuter()
ServerSideExecuter
stopExecuter
in class ServerSideExecuter
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
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.
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
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.
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
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
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
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.
public void run()
run
in interface java.lang.Runnable
public void loop(int iterations, double ratio, long ExecutionLayerID)
public static void main(java.lang.String[] args)
public void notifyMapper(long ExecutionLayerID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |