public interface JGDIJMXBaseMBean
| Modifier and Type | Method and Description |
|---|---|
void |
cleanQueues(java.lang.String[] queues) |
void |
cleanQueuesWithAnswer(java.lang.String[] queues,
java.util.List<JGDIAnswer> answers) |
void |
clearJobs(java.lang.String[] jobs,
boolean force) |
void |
clearJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
clearQueues(java.lang.String[] queues,
boolean force) |
void |
clearQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
clearShareTreeUsage() |
void |
clearShareTreeUsageWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
close()
Close the jgdi session
|
void |
deleteShareTree() |
void |
deleteShareTreeWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
disableQueues(java.lang.String[] queues,
boolean force) |
void |
disableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
enableQueues(java.lang.String[] queues,
boolean force) |
void |
enableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
QHostResult |
execQHost(QHostOptions options) |
java.lang.String |
getActQMaster() |
java.lang.String |
getAdminUser() |
java.util.List<ClusterQueueSummary> |
getClusterQueueSummary(ClusterQueueSummaryOptions options) |
java.lang.String |
getCurrentJGDIVersion() |
QQuotaResult |
getQQuota(QQuotaOptions options) |
QueueInstanceSummaryResult |
getQueueInstanceSummary(QueueInstanceSummaryOptions options) |
java.util.List<ExecHost> |
getRealExecHostList() |
java.lang.String |
getSchedulerHost() |
java.lang.String |
getSGECell() |
int |
getSgeExecdPort() |
int |
getSgeQmasterPort() |
java.io.File |
getSGERoot() |
java.util.Set<EventTypeEnum> |
getSubscription()
Get the current event subscription.
|
void |
killAllEventClients() |
void |
killAllEventClientsWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
killAllExecds(boolean terminateJobs) |
void |
killAllExecdsWithAnswer(boolean terminateJobs,
java.util.List<JGDIAnswer> answers) |
void |
killEventClients(int[] ids) |
void |
killEventClientsWithAnswer(int[] ids,
java.util.List<JGDIAnswer> answers) |
void |
killExecd(java.lang.String[] hosts,
boolean terminateJobs) |
void |
killExecdWithAnswer(java.lang.String[] hosts,
boolean terminateJobs,
java.util.List<JGDIAnswer> answers) |
void |
killMaster() |
void |
killMasterWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
killScheduler() |
void |
killSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) |
ClusterQueueSummaryOptions |
newClusterQueueSummaryOptions() |
QHostOptions |
newQHostOptions() |
QQuotaOptions |
newQQuotaOptions() |
QueueInstanceSummaryOptions |
newQueueInstanceSummaryOptions() |
void |
reschedule(java.lang.String[] queue_or_job,
boolean force) |
void |
rescheduleJobs(java.lang.String[] jobs,
boolean force) |
void |
rescheduleJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
rescheduleQueues(java.lang.String[] queues,
boolean force) |
void |
rescheduleQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
rescheduleWithAnswer(java.lang.String[] queue_or_job,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
setSubscription(java.util.Set<EventTypeEnum> eventTypeSet)
Set the current event subscription.
|
java.lang.String |
showDetachedSettings(java.lang.String[] queues) |
java.lang.String |
showDetachedSettingsAll() |
void |
startScheduler() |
void |
startSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
subscribe(java.util.Set<EventTypeEnum> eventTypeSet)
Subscribe a set of event types if they are not already subscribed.
|
void |
suspend(java.lang.String[] queues,
boolean force) |
void |
suspendJobs(java.lang.String[] jobs,
boolean force) |
void |
suspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
suspendQueues(java.lang.String[] queues,
boolean force) |
void |
suspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
suspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
triggerSchedulerMonitoring() |
void |
triggerSchedulerMonitoringWithAnswer(java.util.List<JGDIAnswer> answers) |
void |
unsubscribe(java.util.Set<EventTypeEnum> eventTypeSet)
Unsubcribe a set of event types if the are not already unsubscribed.
|
void |
unsuspend(java.lang.String[] queues,
boolean force) |
void |
unsuspendJobs(java.lang.String[] jobs,
boolean force) |
void |
unsuspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
unsuspendQueues(java.lang.String[] queues,
boolean force) |
void |
unsuspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
void |
unsuspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers) |
java.lang.String getCurrentJGDIVersion()
throws JGDIException
JGDIExceptionvoid close()
void subscribe(java.util.Set<EventTypeEnum> eventTypeSet) throws JGDIException
eventTypeSet - set of event typesJGDIExceptionvoid unsubscribe(java.util.Set<EventTypeEnum> eventTypeSet) throws JGDIException
eventTypeSet - set of event type which should be unsubcribedJGDIExceptionjava.util.Set<EventTypeEnum> getSubscription() throws JGDIException
JGDIExceptionvoid setSubscription(java.util.Set<EventTypeEnum> eventTypeSet) throws JGDIException
eventTypeSet - the set of event types to subscribeJGDIExceptionjava.lang.String getAdminUser()
throws JGDIException
JGDIExceptionjava.io.File getSGERoot()
throws JGDIException
JGDIExceptionjava.lang.String getSGECell()
throws JGDIException
JGDIExceptionjava.lang.String getActQMaster()
throws JGDIException
JGDIExceptionint getSgeQmasterPort()
throws JGDIException
JGDIExceptionint getSgeExecdPort()
throws JGDIException
JGDIExceptionjava.util.List<ExecHost> getRealExecHostList() throws JGDIException
JGDIExceptionQHostOptions newQHostOptions() throws JGDIException
JGDIExceptionClusterQueueSummaryOptions newClusterQueueSummaryOptions() throws JGDIException
JGDIExceptionQueueInstanceSummaryOptions newQueueInstanceSummaryOptions() throws JGDIException
JGDIExceptionQQuotaOptions newQQuotaOptions() throws JGDIException
JGDIExceptionQHostResult execQHost(QHostOptions options) throws JGDIException
JGDIExceptionjava.util.List<ClusterQueueSummary> getClusterQueueSummary(ClusterQueueSummaryOptions options) throws JGDIException
JGDIExceptionQueueInstanceSummaryResult getQueueInstanceSummary(QueueInstanceSummaryOptions options) throws JGDIException
JGDIExceptionQQuotaResult getQQuota(QQuotaOptions options) throws JGDIException
JGDIExceptionvoid clearShareTreeUsage()
throws JGDIException
JGDIExceptionvoid clearShareTreeUsageWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionvoid cleanQueues(java.lang.String[] queues)
throws JGDIException
JGDIExceptionvoid cleanQueuesWithAnswer(java.lang.String[] queues,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid killMaster()
throws JGDIException
JGDIExceptionvoid killMasterWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionvoid killScheduler()
throws JGDIException
JGDIExceptionvoid killSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionvoid startScheduler()
throws JGDIException
JGDIExceptionvoid startSchedulerWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionvoid killExecd(java.lang.String[] hosts,
boolean terminateJobs)
throws JGDIException
JGDIExceptionvoid killExecdWithAnswer(java.lang.String[] hosts,
boolean terminateJobs,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid killAllExecds(boolean terminateJobs)
throws JGDIException
JGDIExceptionvoid killAllExecdsWithAnswer(boolean terminateJobs,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid killEventClients(int[] ids)
throws JGDIException
JGDIExceptionvoid killEventClientsWithAnswer(int[] ids,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid killAllEventClients()
throws JGDIException
JGDIExceptionvoid killAllEventClientsWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionvoid triggerSchedulerMonitoring()
throws JGDIException
JGDIExceptionvoid triggerSchedulerMonitoringWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionjava.lang.String getSchedulerHost()
throws JGDIException
JGDIExceptionvoid enableQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid enableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid disableQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid disableQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid suspend(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid suspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid suspendQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid suspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid suspendJobs(java.lang.String[] jobs,
boolean force)
throws JGDIException
JGDIExceptionvoid suspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid unsuspend(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid unsuspendWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid unsuspendQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid unsuspendQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid unsuspendJobs(java.lang.String[] jobs,
boolean force)
throws JGDIException
JGDIExceptionvoid unsuspendJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid clearQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid clearQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid clearJobs(java.lang.String[] jobs,
boolean force)
throws JGDIException
JGDIExceptionvoid clearJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid reschedule(java.lang.String[] queue_or_job,
boolean force)
throws JGDIException
JGDIExceptionvoid rescheduleWithAnswer(java.lang.String[] queue_or_job,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid rescheduleQueues(java.lang.String[] queues,
boolean force)
throws JGDIException
JGDIExceptionvoid rescheduleQueuesWithAnswer(java.lang.String[] queues,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionvoid rescheduleJobs(java.lang.String[] jobs,
boolean force)
throws JGDIException
JGDIExceptionvoid rescheduleJobsWithAnswer(java.lang.String[] jobs,
boolean force,
java.util.List<JGDIAnswer> answers)
throws JGDIException
JGDIExceptionjava.lang.String showDetachedSettings(java.lang.String[] queues)
throws JGDIException
JGDIExceptionjava.lang.String showDetachedSettingsAll()
throws JGDIException
JGDIExceptionvoid deleteShareTree()
throws JGDIException
JGDIExceptionvoid deleteShareTreeWithAnswer(java.util.List<JGDIAnswer> answers) throws JGDIException
JGDIExceptionCopyright © 2007 Sun Microsystems, Inc. All rights reserved.