|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.jobagent.JobInfo
public class JobInfo
Hold information about a job that is running on a job agent.
Field Summary | |
---|---|
private int |
jobId
|
private Job.ExecutionTime |
slot
|
Constructor Summary | |
---|---|
JobInfo(int jobId,
Map<String,List<String>> headers)
Create a new JobInfo object using information from the answer to a JobAgentConnection request. |
|
JobInfo(Job job,
Job.ExecutionTime slot)
Create a new JobInfo object. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
int |
getJobId()
Get the ID of the job. |
Job.ExecutionTime |
getSlot()
Get the slot the job is using on the job agent. |
private String |
getValue(Map<String,List<String>> headers,
String header)
|
int |
hashCode()
|
String |
toString()
Convert the information to a string that is suitable for sening as an answer to a JobAgentConnection object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int jobId
private Job.ExecutionTime slot
Constructor Detail |
---|
public JobInfo(Job job, Job.ExecutionTime slot)
job
- slot
- JobInfo(int jobId, Map<String,List<String>> headers)
JobAgentConnection
request.
Method Detail |
---|
public int getJobId()
public Job.ExecutionTime getSlot()
public String toString()
JobAgentConnection
object.
toString
in class Object
private String getValue(Map<String,List<String>> headers, String header)
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |