com.sun.grid.jgdi
public interface JGDIBase
JGDI
object.Modifier and Type | Method and Description |
---|---|
void |
cleanQueues(java.lang.String[] queues)
Cleans queue from jobs which haven't been reaped.
|
void |
cleanQueuesWithAnswer(java.lang.String[] queues,
java.util.List<JGDIAnswer> answers)
Cleans queue from jobs which haven't been reaped.
|
void |
clearJobs(java.lang.String[] jobs,
boolean force)
Clears the error state of the specified jobs(s).
|
void |
clearJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
Clears the error state of the specified jobs(s).
|
void |
clearQueues(java.lang.String[] queues,
boolean force)
Clears the error state of the specified queues(s).
|
void |
clearQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Clears the error state of the specified queues(s).
|
void |
clearShareTreeUsage()
Clears all user and project usage from the sharetree.
|
void |
clearShareTreeUsageWithAnswer(java.util.List<JGDIAnswer> answers)
Clears all user and project usage from the sharetree.
|
void |
close()
Close the
JGDI object. |
void |
deleteShareTree()
Delete the sharetree
Requires root or manager privileges.
|
void |
deleteShareTreeWithAnswer(java.util.List<JGDIAnswer> answers)
Delete the sharetree
Requires root or manager privileges.
|
void |
disableQueues(java.lang.String[] queues,
boolean force)
Disable queue(s), i.e.
|
void |
disableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Disable queue(s), i.e.
|
void |
enableQueues(java.lang.String[] queues,
boolean force)
Enable queue(s).
|
void |
enableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Enable queue(s).
|
QHostResult |
execQHost(QHostOptions options)
Get summary information about cluster hosts.
|
java.lang.String |
getActQMaster()
Get the hostname of the current qmaster
|
java.lang.String |
getAdminUser()
Get the admin user
|
java.util.List<ClusterQueueSummary> |
getClusterQueueSummary(ClusterQueueSummaryOptions options)
Get summary information about cluster queues.
|
QQuotaResult |
getQQuota(QQuotaOptions options)
Get the limit information.
|
QueueInstanceSummaryResult |
getQueueInstanceSummary(QueueInstanceSummaryOptions options)
Get summary information abouter queue instances.
|
java.util.List<ExecHost> |
getRealExecHostList()
Get the list of real exec hosts (excludes "template" and "global").
|
java.lang.String |
getSchedulerHost()
Return the host where the SGE scheduler sge_schedd(8) is
active or null otherwise
|
java.lang.String |
getSGECell()
Get the cell of the grid engine
|
int |
getSgeExecdPort()
Get the SGE_EXECD_PORT of the current qmaster
|
int |
getSgeQmasterPort()
Get the SGE_QMASTER_PORT of the current qmaster
|
java.io.File |
getSGERoot()
Get the root directory of the grid engine installation
|
void |
killAllEventClients()
Used to shutdown event clients all registered at qmaster(8).
|
void |
killAllEventClientsWithAnswer(java.util.List<JGDIAnswer> answers)
Used to shutdown event clients all registered at qmaster(8).
|
void |
killAllExecds(boolean terminateJobs)
Send all execution hosts a kill signal.
|
void |
killAllExecdsWithAnswer(boolean terminateJobs,
java.util.List<JGDIAnswer> answers)
Send all execution hosts a kill signal.
|
void |
killEventClients(int[] ids)
Used to shutdown event clients registered at qmaster(8), except
special clients like the sge_schedd(8)
|
void |
killEventClientsWithAnswer(int[] ids,
java.util.List<JGDIAnswer> answers)
Used to shutdown event clients registered at qmaster(8), except
special clients like the sge_schedd(8)
|
void |
killExecd(java.lang.String[] hosts,
boolean terminateJobs)
Send some execution hosts a kill signal.
|
void |
killExecdWithAnswer(java.lang.String[] hosts,
boolean terminateJobs,
java.util.List<JGDIAnswer> answers)
Send some execution hosts a kill signal.
|
void |
killMaster()
Send the qmaster a kill signal.
|
void |
killMasterWithAnswer(java.util.List<JGDIAnswer> answers)
Send the qmaster a kill signal.
|
void |
killScheduler()
Send the schedduler a kill signal.
|
void |
killSchedulerWithAnswer(java.util.List<JGDIAnswer> answers)
Send the schedduler a kill signal.
|
void |
reschedule(java.lang.String[] queue_or_job,
boolean force)
Reschedules all jobs currently running in the queue(s).
|
void |
rescheduleJobs(java.lang.String[] jobs,
boolean force)
If applied to running jobs, reschedules the jobs.
|
void |
rescheduleJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
If applied to running jobs, reschedules the jobs.
|
void |
rescheduleQueues(java.lang.String[] queues,
boolean force)
Reschedules all jobs currently running in the queue(s).
|
void |
rescheduleQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Reschedules all jobs currently running in the queue(s).
|
void |
rescheduleWithAnswer(java.lang.String[] queue_or_job,
boolean force,
java.util.List<JGDIAnswer> answers)
Reschedules all jobs currently running in the queue(s).
|
java.lang.String |
showDetachedSettings(java.lang.String[] queues)
Show the detached settings of a cluster queue
Requires root or manager privileges.
|
java.lang.String |
showDetachedSettingsAll()
Show the detached settings of all cluster queues
Requires root or manager privileges.
|
void |
startScheduler()
Send the schedduler a start signal.
|
void |
startSchedulerWithAnswer(java.util.List<JGDIAnswer> answers)
Send the schedduler a kill signal.
|
void |
suspend(java.lang.String[] queues,
boolean force)
Suspend the queues and any jobs which might be active.
|
void |
suspendJobs(java.lang.String[] jobs,
boolean force)
Suspends job(s).
|
void |
suspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
Suspends job(s).
|
void |
suspendQueues(java.lang.String[] queues,
boolean force)
Suspend the queues and any jobs which might be active.
|
void |
suspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Suspend the queues and any jobs which might be active.
|
void |
suspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Suspend the queues and any jobs which might be active.
|
void |
triggerSchedulerMonitoring()
The SGE scheduler sge_schedd(8) is forced to print
trace messages of its next scheduling run to the file
<sge_root>/<cell>/common/schedd_runlog.
|
void |
triggerSchedulerMonitoringWithAnswer(java.util.List<JGDIAnswer> answers)
The N1 Grid Engine scheduler sge_schedd(8) is forced to print
trace messages of its next scheduling run to the file
<sge_root>/<cell>/common/schedd_runlog.
|
void |
unsuspend(java.lang.String[] queues,
boolean force)
Unsuspends the queues and any jobs which might be active.
|
void |
unsuspendJobs(java.lang.String[] jobs,
boolean force)
Unsuspends the job(s).
|
void |
unsuspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
Unsuspends the job(s).
|
void |
unsuspendQueues(java.lang.String[] queues,
boolean force)
Unsuspends the queues and any jobs which might be active.
|
void |
unsuspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Unsuspends the queues and any jobs which might be active.
|
void |
unsuspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
Unsuspends the queues and any jobs which might be active.
|
java.lang.String getAdminUser() throws JGDIException
JGDIException
- on any error on the GDI layerjava.io.File getSGERoot() throws JGDIException
JGDIException
java.lang.String getSGECell() throws JGDIException
JGDIException
java.lang.String getActQMaster() throws JGDIException
JGDIException
- on any error on the GDI layerint getSgeQmasterPort() throws JGDIException
JGDIException
- on any error on the GDI layerint getSgeExecdPort() throws JGDIException
JGDIException
- on any error on the GDI layervoid close() throws JGDIException
JGDI
object. After calling this method
the JGDI
is not longer useable.JGDIException
- on any error on the GDI layerjava.util.List<ExecHost> getRealExecHostList() throws JGDIException
JGDIException
QHostResult execQHost(QHostOptions options) throws JGDIException
qhost
(see man qhost(1)).options
- host summary optionsQHostResult
object with the host summary informationJGDIException
- on any error in the GDI layerjava.util.List<ClusterQueueSummary> getClusterQueueSummary(ClusterQueueSummaryOptions options) throws JGDIException
qstat -g c
(see man qstat(1)).options
- options the cluster queue summary algorithmJGDIException
- on any error in the GDI layerQueueInstanceSummaryResult getQueueInstanceSummary(QueueInstanceSummaryOptions options) throws JGDIException
qstat
(see man qstat(1)).options
- Options for the queue instance summary algorithmJGDIException
- on any error in the GDI layerQQuotaResult getQQuota(QQuotaOptions options) throws JGDIException
qquota
(see man qquota(1)).options
- qquota summary optionsQQuotaResult
object with the qquota summary informationJGDIException
- on any error in the GDI layervoid clearShareTreeUsage() throws JGDIException
Clears all user and project usage from the sharetree. All usage will be initialized back to zero.
The CLI equivialent for this method is qconf -clearusage
(see man qconf(1)).
JGDIException
void clearShareTreeUsageWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
Clears all user and project usage from the sharetree. All usage will be initialized back to zero.
The CLI equivialent for this method is qconf -clearusage
(see man qconf(1)).
answers
- the answer list
objectJGDIException
void cleanQueues(java.lang.String[] queues) throws JGDIException
Cleans queue from jobs which haven't been reaped. Primarily for development purpose. Requires root/manager/operator privileges.
The CLI equivialent for this method is qconf -cq
(see man qconf(1)).
queues
- a wild card queue listJGDIException
- on any error on the GDI layervoid cleanQueuesWithAnswer(java.lang.String[] queues, java.util.List<JGDIAnswer> answers) throws JGDIException
Cleans queue from jobs which haven't been reaped. Primarily for development purpose. Requires root/manager/operator privileges.
The CLI equivialent for this method is qconf -cq
(see man qconf(1)).
queues
- a wild card queue listanswers
- the answer list
objectJGDIException
- on any error on the GDI layervoid killMaster() throws JGDIException
The CLI equivialent for this method is qconf -km
(see man qconf(1)).
JGDIException
- on any error on the GDI layervoid killMasterWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
The CLI equivialent for this method is qconf -km
(see man qconf(1)).
answers
- the answer list
objectJGDIException
- on any error on the GDI layervoid killScheduler() throws JGDIException
The CLI equivialent for this method is qconf -ks
(see man qconf(1)).
JGDIException
- on any error on the GDI layervoid killSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
The CLI equivialent for this method is qconf -ks
(see man qconf(1)).
answers
- the answer list
objectJGDIException
- on any error on the GDI layervoid startScheduler() throws JGDIException
The CLI equivialent for this method is qconf -at scheduler
(see man qconf(1)).
JGDIException
- on any error on the GDI layervoid startSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
The CLI equivialent for this method is qconf -at scheduler
(see man qconf(1)).
answers
- the answer list
objectJGDIException
- on any error on the GDI layervoid killExecd(java.lang.String[] hosts, boolean terminateJobs) throws JGDIException
The CLI equivialent for this method is qconf -ke
(see man qconf(1)).
hosts
- a host name listterminateJobs
- if true, all jobs running on the execution hosts are
aborted prior to termination of the corresponding
sge_execd(8).JGDIException
- on any error on the GDI layervoid killExecdWithAnswer(java.lang.String[] hosts, boolean terminateJobs, java.util.List<JGDIAnswer> answers) throws JGDIException
The CLI equivialent for this method is qconf -ke
(see man qconf(1)).
hosts
- a host name listterminateJobs
- if true, all jobs running on the execution hosts are
aborted prior to termination of the corresponding
sge_execd(8).answers
- the answer list
objectJGDIException
- on any error on the GDI layervoid killAllExecds(boolean terminateJobs) throws JGDIException
The CLI equivialent for this method is qconf -ke all
(see man qconf(1)).
terminateJobs
- if true, all jobs running on the execution hosts are
aborted prior to termination of the corresponding
sge_execd(8).JGDIException
- on any error on the GDI layervoid killAllExecdsWithAnswer(boolean terminateJobs, java.util.List<JGDIAnswer> answers) throws JGDIException
The CLI equivialent for this method is qconf -ke all
(see man qconf(1)).
terminateJobs
- if true, all jobs running on the execution hosts are
aborted prior to termination of the corresponding
sge_execd(8).answers
- the answer list
objectJGDIException
- on any error on the GDI layervoid killEventClients(int[] ids) throws JGDIException
Used to shutdown event clients registered at qmaster(8), except special clients like the sge_schedd(8)
Requires root or manager privilege.
The CLI equivialent for this method is qconf -secl
(see man qconf(1)).
ids
- array with the ids of the event clients which should be killedJGDIException
- JGDIException on any error on the GDI levelvoid killEventClientsWithAnswer(int[] ids, java.util.List<JGDIAnswer> answers) throws JGDIException
Used to shutdown event clients registered at qmaster(8), except special clients like the sge_schedd(8)
Requires root or manager privilege.
The CLI equivialent for this method is qconf -secl
(see man qconf(1)).
ids
- array with the ids of the event clients which should be killedanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid killAllEventClients() throws JGDIException
Used to shutdown event clients all registered at qmaster(8).
JGDIException
- JGDIException on any error on the GDI levelvoid killAllEventClientsWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
Used to shutdown event clients all registered at qmaster(8).
answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid triggerSchedulerMonitoring() throws JGDIException
The SGE scheduler sge_schedd(8) is forced to print trace messages of its next scheduling run to the file <sge_root>/<cell>/common/schedd_runlog. The messages indicate the reasons for jobs and queues not being selected in that run.
Requires root or manager privileges.
The CLI equivialent for this method is qconf -tsm
(see man qconf(1)).
JGDIException
- JGDIException on any error on the GDI levelvoid triggerSchedulerMonitoringWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
The N1 Grid Engine scheduler sge_schedd(8) is forced to print trace messages of its next scheduling run to the file <sge_root>/<cell>/common/schedd_runlog. The messages indicate the reasons for jobs and queues not being selected in that run.
Requires root or manager privileges.
The CLI equivialent for this method is qconf -tsm
(see man qconf(1)).
answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI leveljava.lang.String getSchedulerHost() throws JGDIException
Return the host where the SGE scheduler sge_schedd(8) is active or null otherwise
The CLI equivialent for this method is qconf -sss
(see man qconf(1)).
JGDIException
- JGDIException on any error on the GDI levelvoid enableQueues(java.lang.String[] queues, boolean force) throws JGDIException
Enable queue(s).
The CLI equivialent for this method is qmod -e
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid enableQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Enable queue(s).
The CLI equivialent for this method is qmod -e
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid disableQueues(java.lang.String[] queues, boolean force) throws JGDIException
Disable queue(s), i.e. no further jobs are dispatched to disabled queues while jobs already executing in these queues are allowed to finish.
The CLI equivialent for this method is qmod -d
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid disableQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Disable queue(s), i.e. no further jobs are dispatched to disabled queues while jobs already executing in these queues are allowed to finish.
The CLI equivialent for this method is qmod -d
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid suspend(java.lang.String[] queues, boolean force) throws JGDIException
Suspend the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -sq (see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid suspendWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Suspend the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -sq (see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid suspendQueues(java.lang.String[] queues, boolean force) throws JGDIException
Suspend the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -sq (see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid suspendQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Suspend the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -sq (see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid suspendJobs(java.lang.String[] jobs, boolean force) throws JGDIException
Suspends job(s). If a job is both suspended explicitly and via suspension of its queue, a following unsuspend of the queue will not release the suspension state on the job.
The CLI equivialent for this method is qmod -sj
(see man qmod(1)).
jobs
- a wildcard job listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid suspendJobsWithAnswer(java.lang.String[] jobs, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Suspends job(s). If a job is both suspended explicitly and via suspension of its queue, a following unsuspend of the queue will not release the suspension state on the job.
The CLI equivialent for this method is qmod -sj
(see man qmod(1)).
jobs
- a wildcard job listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid unsuspend(java.lang.String[] queues, boolean force) throws JGDIException
Unsuspends the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -usq
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid unsuspendWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Unsuspends the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -usq
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid unsuspendQueues(java.lang.String[] queues, boolean force) throws JGDIException
Unsuspends the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -usq
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid unsuspendQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Unsuspends the queues and any jobs which might be active.
The CLI equivialent for this method is qmod -usq
(see man qmod(1)).
queues
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid unsuspendJobs(java.lang.String[] jobs, boolean force) throws JGDIException
Unsuspends the job(s). If a job is both suspended explicitly and via suspension of its queue, a following unsuspend of the queue will not release the suspension state on the job.
The CLI equivialent for this method is qmod -usj
(see man qmod(1)).
jobs
- a wildcard queue listforce
- force the actionJGDIException
- JGDIException on any error on the GDI levelvoid unsuspendJobsWithAnswer(java.lang.String[] jobs, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Unsuspends the job(s). If a job is both suspended explicitly and via suspension of its queue, a following unsuspend of the queue will not release the suspension state on the job.
The CLI equivialent for this method is qmod -usj
(see man qmod(1)).
jobs
- a wildcard queue listforce
- force the actionanswers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid clearQueues(java.lang.String[] queues, boolean force) throws JGDIException
Clears the error state of the specified queues(s).
The CLI equivialent for this method is qmod -cq
(see man qmod(1)).
queues
- a wildcard queue listforce
- Force the modification action for the queue despite the apparent current state of the queue.
JGDIException
- JGDIException on any error on the GDI levelvoid clearQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Clears the error state of the specified queues(s).
The CLI equivialent for this method is qmod -cq
(see man qmod(1)).
queues
- a wildcard queue listforce
- Force the modification action for the queue despite the apparent current state of the queue.
answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid clearJobs(java.lang.String[] jobs, boolean force) throws JGDIException
Clears the error state of the specified jobs(s).
The CLI equivialent for this method is qmod -cj (see man qmod(1)).
jobs
- a wildcard job listforce
- Force the modification action for the job(s)JGDIException
- JGDIException on any error on the GDI levelvoid clearJobsWithAnswer(java.lang.String[] jobs, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Clears the error state of the specified jobs(s).
The CLI equivialent for this method is qmod -cj (see man qmod(1)).
jobs
- a wildcard job listforce
- Force the modification action for the job(s)answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid reschedule(java.lang.String[] queue_or_job, boolean force) throws JGDIException
Reschedules all jobs currently running in the queue(s). Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
queue_or_job
- a wildcard queue or job listforce
- Force the modification action for the queue
despite the apparent current state of the queue.JGDIException
- JGDIException on any error on the GDI levelvoid rescheduleWithAnswer(java.lang.String[] queue_or_job, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Reschedules all jobs currently running in the queue(s). Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
queue_or_job
- a wildcard queue or job listforce
- Force the modification action for the queue
despite the apparent current state of the queue.answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid rescheduleQueues(java.lang.String[] queues, boolean force) throws JGDIException
Reschedules all jobs currently running in the queue(s). Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
queues
- a wildcard queue listforce
- Force the modification action for the queue
despite the apparent current state of the queue.JGDIException
- JGDIException on any error on the GDI levelvoid rescheduleQueuesWithAnswer(java.lang.String[] queues, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
Reschedules all jobs currently running in the queue(s). Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
queues
- a wildcard queue listforce
- Force the modification action for the queue
despite the apparent current state of the queue.answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelvoid rescheduleJobs(java.lang.String[] jobs, boolean force) throws JGDIException
If applied to running jobs, reschedules the jobs. Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
jobs
- a wildcard job range listforce
- Force the modification action for the job(s)JGDIException
- JGDIException on any error on the GDI levelvoid rescheduleJobsWithAnswer(java.lang.String[] jobs, boolean force, java.util.List<JGDIAnswer> answers) throws JGDIException
If applied to running jobs, reschedules the jobs. Requires root or manager privileges.
The CLI equivialent for this method is qmod -r
(see man qmod(1)).
jobs
- a wildcard job range listforce
- force the modification action for the job(s)answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI leveljava.lang.String showDetachedSettings(java.lang.String[] queues) throws JGDIException
Show the detached settings of a cluster queue Requires root or manager privileges.
The CLI equivialent for this method is qconf -sds
(see man qconf(1)).
queues
- a wildcard cluster queue listjava.lang.String
JGDIException
- JGDIException on any error on the GDI leveljava.lang.String showDetachedSettingsAll() throws JGDIException
Show the detached settings of all cluster queues Requires root or manager privileges.
The CLI equivialent for this method is qconf -sds
(see man qconf(1)).
java.lang.String
JGDIException
JGDIException
- JGDIException on any error on the GDI levelvoid deleteShareTree() throws JGDIException
Delete the sharetree Requires root or manager privileges.
The CLI equivialent for this method is qconf -dstree
(see man qconf(1)).
JGDIException
- JGDIException on any error on the GDI levelvoid deleteShareTreeWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
Delete the sharetree Requires root or manager privileges.
The CLI equivialent for this method is qconf -dstree
(see man qconf(1)).
answers
- the answer list
objectJGDIException
- JGDIException on any error on the GDI levelCopyright © 2007 Sun Microsystems, Inc. All rights reserved.