|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.grid.master.TaskResult
public class TaskResult
The TaskResult holds statistics for a completed Task.
Field Summary | |
---|---|
java.lang.Long |
backLog
|
java.lang.Double |
executionTime
|
Identity |
id
|
java.lang.Long |
taskSubmittedTime
|
Constructor Summary | |
---|---|
TaskResult()
Create a new TaskResult |
|
TaskResult(Identity id)
Create new task result with specified Identity |
Method Summary | |
---|---|
java.lang.Long |
getBacklog()
Get the backlog value of the space when this entry was processed |
double |
getExecutionTime()
Get the execution time |
Identity |
getIdentity()
Return the universally unique identifier for this response. |
long |
getSubmittedTime()
Get the time the task was submitted |
void |
setBacklog(java.lang.Long backLog)
Set the backlog value of the space when this entry was processed |
void |
setExecutionTime(double time)
Set the execution time |
void |
setIdentity(Identity id)
Specify an universally unique identifier for the particular defined task. |
void |
setSubmittedTime(long taskSubmission)
Set the time the entry responsible for producing the TaskResult was submitted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Identity id
public java.lang.Double executionTime
public java.lang.Long backLog
public java.lang.Long taskSubmittedTime
Constructor Detail |
---|
public TaskResult()
public TaskResult(Identity id)
id
- The IdentityMethod Detail |
---|
public void setIdentity(Identity id)
public Identity getIdentity()
public double getExecutionTime()
public void setExecutionTime(double time)
public void setBacklog(java.lang.Long backLog)
public java.lang.Long getBacklog()
public void setSubmittedTime(long taskSubmission)
public long getSubmittedTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |