|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.monitoring.BasicQueueOptions com.sun.grid.jgdi.monitoring.QueueInstanceSummaryOptions
public class QueueInstanceSummaryOptions
Options for the QueueInstanceSummary algorithm
com.sun.grid.jgdi.JGDI#getQueueInstanceSummary
,
Serialized FormConstructor Summary | |
---|---|
QueueInstanceSummaryOptions()
Creates a new instance of QueueInstanceSummaryOptions |
Method Summary | |
---|---|
char |
getExplain()
Get the explain option. |
JobStateFilter |
getJobStateFilter()
Get the job state filter |
UserFilter |
getJobUserFilter()
Get the job user filter. |
ParallelEnvironmentFilter |
getPeFilter()
Equivalent to the qstat -pe option. |
ResourceAttributeFilter |
getResourceAttributeFilter()
Get the resource attribute filter. |
boolean |
isExplainSet()
Determine if the explain flag is set. |
void |
setExplain(char explain)
Set the explain character. |
void |
setJobStateFilter(JobStateFilter jobStateFilter)
Set the job state filter |
void |
setJobUserFilter(UserFilter jobUserFilter)
Set the job user filter. |
void |
setPeFilter(ParallelEnvironmentFilter peFilter)
set the pe filter |
void |
setResourceAttributeFilter(ResourceAttributeFilter resourceAttributeFilter)
Set the resource attribute filter. |
void |
setShowArrayJobs(boolean showArrayJobs)
Set the showArrayJobs option |
void |
setShowEmptyQueues(boolean showEmptyQueues)
Set the show empty queues flag |
void |
setShowExtendedSubTaskInfo(boolean showExtendedSubTaskInfo)
Set the extended sub task info flag |
void |
setShowFullOutput(boolean showFullOutput)
Set the showFullOutput option |
void |
setShowJobPriorities(boolean showJobPriorities)
set the showJobPriorities option |
void |
setShowJobUrgency(boolean showJobUrgency)
Set the job urgency flag |
void |
setShowPEJobs(boolean showPEJobs)
set the showPEJobs option |
void |
setShowRequestedResourcesForJobs(boolean showRequestedResourcesForJobs)
Set the requested resource for jobs flag. |
boolean |
showArrayJobs()
If the showArrayJobs option is set, array jobs are displayed verbosely. |
boolean |
showEmptyQueues()
Should empty queues be include into the QueueInstanceSummary . |
boolean |
showExtendedSubTaskInfo()
Should the extended sub task info be included into the QueueInstanceSummary |
boolean |
showFullOutput()
The showFullOutput option causes summary information on all queues to
be returned along with the queued job list. |
boolean |
showJobPriorities()
Equivalent to the qstat -pri option. |
boolean |
showJobUrgency()
Determine if the job urgency should be included into the QueueInstanceSummary . |
boolean |
showPEJobs()
With showPEJobs option detailed information about parallel jobs
is included into the result. |
boolean |
showRequestedResourcesForJobs()
Should the requested resource for jobs be included into the QueueInstanceSummary . |
void |
updateJobUserFilter(java.lang.String vals)
Update the content of the job user filter by adding values in vals |
void |
updatePeFilter(java.lang.String vals)
Update the content of the PE filter by adding values in vals |
void |
updateResourceAttributeFilter(java.lang.String vals)
Update the content of the resource attribute filter by adding values in vals |
Methods inherited from class com.sun.grid.jgdi.monitoring.BasicQueueOptions |
---|
getQueueFilter, getQueueStateFilter, getQueueUserFilter, getResourceFilter, setQueueFilter, setQueueStateFilter, setQueueUserFilter, setResourceFilter, setShowAdditionalAttributes, showAdditionalAttributes, updateQueueFilter, updateQueueStateFilter, updateQueueUserFilter, updateResourceFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueInstanceSummaryOptions()
Method Detail |
---|
public ResourceAttributeFilter getResourceAttributeFilter()
Get the resource attribute filter.
The CLI equivialent for the resource attribute filter is qstat -F (see man qstat(1)).
public void setResourceAttributeFilter(ResourceAttributeFilter resourceAttributeFilter)
resourceAttributeFilter
- the resource attribute filterpublic void updateResourceAttributeFilter(java.lang.String vals)
vals
- values to be added to the filterpublic boolean isExplainSet()
Determine if the explain flag is set.
If the explain flag is set, the QueueInstanceSummary
will include
additional information for each job related to the job ticket policy scheme.
The CLI equivialent for the explain flag is the qstat -explain
option
(see man qstat(1)).
true
if the explain set is setpublic char getExplain()
Get the explain option.
Possible values:
The CLI equivialent for the explain option is qstat -explain
(see man qstat(1))
public void setExplain(char explain)
explain
- the explain character.
java.lang.IllegalArgumentException
- if explain is not 'a', 'A', 'c' or 'E'getExplain()
public boolean showFullOutput()
The showFullOutput
option causes summary information on all queues to
be returned along with the queued job list.
The showFullOutput
option is the equivalent to the
qstat -f
options
public void setShowFullOutput(boolean showFullOutput)
showFullOutput
option
showFullOutput
- new value for the showFullOutput
optionshowFullOutput
public boolean showArrayJobs()
showArrayJobs
option is set, array jobs are displayed verbosely.
By default, array jobs are grouped and all tasks with the same status (for pending
tasks only) are included in a single object. The array job task id range field
in the output specifies the corresponding set of tasks.
The showArrayJobs
option is the equivalent to the qstat -g d
option.
showArrayJobs
optionpublic void setShowArrayJobs(boolean showArrayJobs)
showArrayJobs
option
showArrayJobs
- the new value for the showArrayJobs
optionshowArrayJobs()
public boolean showPEJobs()
With showPEJobs
option detailed information about parallel jobs
is included into the result.
The showPEJobs
option is the equivalent to the qstat -g t
option.
showPEJobs
optionpublic void setShowPEJobs(boolean showPEJobs)
showPEJobs
option
showPEJobs
- new value for the showPEJobs
optionshowPEJobs
public ParallelEnvironmentFilter getPeFilter()
Equivalent to the qstat -pe
option.
public void setPeFilter(ParallelEnvironmentFilter peFilter)
peFilter
- the peFilterpublic void updatePeFilter(java.lang.String vals)
vals
- values to be added to the filterpublic boolean showJobPriorities()
Equivalent to the qstat -pri
option.
public void setShowJobPriorities(boolean showJobPriorities)
showJobPriorities
option
showJobPriorities
- the showJobPriorities
optionpublic JobStateFilter getJobStateFilter()
Get the job state filter
The CLI equivialent for the job state filter is qstat -s
return the job state filter
public void setJobStateFilter(JobStateFilter jobStateFilter)
jobStateFilter
- the job state filtergetJobStateFilter()
public boolean showExtendedSubTaskInfo()
Should the extended sub task info be included into the QueueInstanceSummary
The CLI equivialent for the extended sub task info is qstat -t
true
if the extended sub task info should be includedpublic void setShowExtendedSubTaskInfo(boolean showExtendedSubTaskInfo)
showExtendedSubTaskInfo
- the extended sub task info flagshowExtendedSubTaskInfo
public UserFilter getJobUserFilter()
Get the job user filter. If set only those queues and jobs will be
included into the QueueInstanceSummary
which are assosiciated
with the users in the UserFilter
.
The CLI equivialent for the job user filter is qstat -u
public void setJobUserFilter(UserFilter jobUserFilter)
jobUserFilter
- the job user filtergetJobUserFilter()
public void updateJobUserFilter(java.lang.String vals)
vals
- values to be added to the filterpublic boolean showJobUrgency()
Determine if the job urgency should be included into the QueueInstanceSummary
.
The CLI equivialent for the show job urgency flag is qstat -urg
public void setShowJobUrgency(boolean showJobUrgency)
showJobUrgency
- the job urgency flagshowJobUrgency
public boolean showEmptyQueues()
Should empty queues be include into the QueueInstanceSummary
.
The CLI equivialent for this options is qstat -ne
public void setShowEmptyQueues(boolean showEmptyQueues)
showEmptyQueues
- the show empty queues flagshowEmptyQueues
public boolean showRequestedResourcesForJobs()
Should the requested resource for jobs be included into
the QueueInstanceSummary
.
The CLI equivialent is qstat -r
.
public void setShowRequestedResourcesForJobs(boolean showRequestedResourcesForJobs)
showRequestedResourcesForJobs
- the requested resource for jobs flagshowRequestedResourcesForJobs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |