|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobSummary
The class JobSummary extends the class JobInfo and adds addtional information about the job.
Method Summary | |
---|---|
void |
addSoftRequestedMasterQueue(java.lang.String qname)
Add a soft requested master queue (see qsub -masterq) |
void |
addSoftRequestedQueue(java.lang.String qname)
Add a soft requested queue |
java.util.List |
getArrayPredecessors()
Get a list of all array predecessor job id |
java.lang.String |
getCheckpointEnv()
Get the checkpoint environment of the job |
int |
getCpuUsage()
Get the cpu usage of the job. |
java.util.Date |
getDeadline()
Get the deadline of the job |
java.lang.String |
getDepartment()
Get the department of the job |
double |
getDlcontr()
Get the urgency value contribution that reflects the urgency related to the jobs deadline initiation time. |
long |
getFtickets()
Get the functional portion of the total number of tickets assigned to the job currently. |
java.lang.String |
getGrantedPEName()
Get the name of the granted PE |
int |
getGrantedPESlots()
Get the number of granted PE slots |
java.util.List |
getHardRequestedMasterQueues()
Get a list of all hard requested master queues |
java.util.List |
getHardRequestedQueues()
Get a list of all hard requested queues |
java.util.Set<java.lang.String> |
getHardRequestNames()
Get a set of all hard requested resources. |
HardRequestValue |
getHardRequestValue(java.lang.String name)
Get a value of a hard requested resource |
double |
getIoUsage()
Get the io usage of the job. |
double |
getMemUsage()
Get the memory usage of the job. |
double |
getNormalizedPriority()
Get the normalized priority of the job |
double |
getNormalizedRequestedPriority()
Get the priority of the job which has been requested by the user in normalized form |
double |
getNormalizedTickets()
Get the normalized total number of tickets |
double |
getNormalizedUrgency()
Get the jobs total urgency value in normalized fashion. |
long |
getOtickets()
Get the override portion of the total number of tickets assigned to the job currently |
long |
getOverrideTickets()
Get the override tickets of the job |
java.lang.String |
getParallelEnvironmentName()
Get the name of the parallel environment of the job |
java.lang.String |
getParallelEnvironmentRange()
Get the requested PE slot range. |
java.util.List |
getPredecessors()
Get a list of all predecessor job id |
java.lang.String |
getProject()
Get the project of the job |
java.util.List |
getRequestedArrayPredecessors()
Get a list of all requested array predecessors |
java.util.List |
getRequestedPredecessors()
Get a list of all requested predecessors |
java.util.Set<java.lang.String> |
getRequestNames()
Get all resources which have been requested by this job. |
java.lang.String |
getRequestValue(java.lang.String name)
Get value of a requested resource |
double |
getRrcontr()
Get the urgency value contribution that reflects the urgency that is related to the jobs overall resource requirement. |
double |
getShare()
Get the share of the total system to which the job is entitled currently. |
int |
getSlots()
Get the number of used slots |
java.util.List |
getSoftRequestedMasterQueues()
Get a list of all soft requested master queues |
java.util.List |
getSoftRequestedQueues()
Get a list of all soft requested queues |
java.util.Set<java.lang.String> |
getSoftRequestNames()
Get a set of all soft requested resources |
java.lang.String |
getSoftRequestValue(java.lang.String name)
Get the value of a soft requested resource |
long |
getStickets()
Get the share portion of the total number of tickets assigned to the job currently. |
int |
getTaskCount()
Get the number of tasks of this job |
java.util.List |
getTaskList()
Get the list of tasks of this job |
long |
getTickets()
Get the currently number of tickets of the job |
double |
getUrgency()
Get the total urgency of the job |
double |
getWtcontr()
Get the urgency value contribution that reflects the urgency related to the jobs waiting time. |
boolean |
hasCpuUsage()
Determine if the job has a cpu usage |
boolean |
hasIoUsage()
Determine if the job has a io usage |
boolean |
hasMemUsage()
Determine if the job has a memory usage |
boolean |
isArray()
Determine if the job is an array job |
boolean |
isQueueAssigned()
Determine if the job is assigned to a queue |
boolean |
isRunning()
Determine if the job is running |
boolean |
isZombie()
Determine if the job is a zombie |
void |
setNormalizedUrgency(double nurg)
Set the jobs total urgency value in normalized fashion. |
void |
setSlots(int slots)
Set the number of used slots |
Methods inherited from interface com.sun.grid.jgdi.monitoring.JobInfo |
---|
getId, getMasterQueue, getName, getPriority, getQinstanceName, getQueue, getStartTime, getState, getSubmitTime, getTaskId, getUser |
Method Detail |
---|
java.util.List getTaskList()
int getTaskCount()
java.util.Set<java.lang.String> getRequestNames()
Get all resources which have been requested by this job.
recource requsts are specified by qsub with the -l option (see man qsub).
java.lang.String getRequestValue(java.lang.String name)
name
- name of the requested resource
java.util.Set<java.lang.String> getHardRequestNames()
HardRequestValue getHardRequestValue(java.lang.String name)
name
- name of the hard requested resource
java.util.Set<java.lang.String> getSoftRequestNames()
java.lang.String getSoftRequestValue(java.lang.String name)
name
- name of the resource
java.util.List getHardRequestedQueues()
void addSoftRequestedQueue(java.lang.String qname)
qname
- name of the soft requested queuejava.util.List getSoftRequestedQueues()
java.util.List getHardRequestedMasterQueues()
void addSoftRequestedMasterQueue(java.lang.String qname)
qname
- of the soft requested master queuejava.util.List getSoftRequestedMasterQueues()
java.util.List getRequestedPredecessors()
java.util.List getRequestedArrayPredecessors()
java.util.List getPredecessors()
java.util.List getArrayPredecessors()
double getNormalizedUrgency()
void setNormalizedUrgency(double nurg)
nurg
- the normalized total urgencydouble getUrgency()
double getNormalizedRequestedPriority()
double getNormalizedPriority()
double getNormalizedTickets()
double getRrcontr()
double getWtcontr()
double getDlcontr()
java.lang.String getProject()
java.lang.String getDepartment()
java.util.Date getDeadline()
boolean hasCpuUsage()
int getCpuUsage()
0
is returned
hasCpuUsage()
boolean hasMemUsage()
true
if the job has a memory usagedouble getMemUsage()
0
is returned.
hasMemUsage()
boolean hasIoUsage()
double getIoUsage()
0
is returned.
hasIoUsage()
boolean isZombie()
false
if the job a zombielong getOverrideTickets()
boolean isQueueAssigned()
true
if the job is assigned to a queuelong getTickets()
long getOtickets()
long getFtickets()
long getStickets()
double getShare()
int getSlots()
void setSlots(int slots)
slots
- the number of used slotsboolean isArray()
true
if the job is an array jobboolean isRunning()
true
of the job is runningjava.lang.String getParallelEnvironmentName()
java.lang.String getParallelEnvironmentRange()
java.lang.String getGrantedPEName()
int getGrantedPESlots()
java.lang.String getCheckpointEnv()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |