|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.client.JobSubmission
public class JobSubmission
This class encapsulates the results of a job submission.
| Field Summary | |
|---|---|
protected AbstractJPPFClientConnection |
connection
The connection to execute the job on. |
protected JPPFJob |
job
The submitted job. |
protected boolean |
locallyExecuting
Flag indicating whether the job will be executed locally, at least partially. |
protected SubmissionStatus |
status
The status of this submission. |
protected SubmissionManager |
submissionManager
The submission manager. |
| Method Summary | |
|---|---|
AbstractJPPFClientConnection |
getConnection()
Get the connection to execute the job on. |
String |
getId()
Get the unique id of this submission. |
JPPFJob |
getJob()
Get the submitted job. |
SubmissionStatus |
getStatus()
Get the status of this submission. |
boolean |
isLocallyExecuting()
Determine whether the job will be executed locally, at least partially. |
void |
run()
This method executes until all partial results have been received. |
void |
setConnection(AbstractJPPFClientConnection connection)
Set the connection to execute the job on. |
void |
setStatus(SubmissionStatus status)
Set the status of this submission. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SubmissionStatus status
protected JPPFJob job
protected AbstractJPPFClientConnection connection
protected SubmissionManager submissionManager
protected final boolean locallyExecuting
| Method Detail |
|---|
public void run()
run in interface RunnableRunnable.run()public SubmissionStatus getStatus()
SubmissionStatus enumerated value.public void setStatus(SubmissionStatus status)
status - a SubmissionStatus enumerated value.public String getId()
public JPPFJob getJob()
JPPFJob instance.public AbstractJPPFClientConnection getConnection()
AbstractJPPFClientConnection instance.public void setConnection(AbstractJPPFClientConnection connection)
connection - a AbstractJPPFClientConnection instance.public boolean isLocallyExecuting()
true if the job is executed locally, false otherwise.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||