WebSphere:*,type=BatchGridScheduler
MBean BatchGridScheduler
Management interface for batch/grid Scheduler.
Operation Summary | |
---|---|
com.ibm.ws.batch.JobStatusDO[] | getAllJobStatus() getAllJobStatus |
void | cancelJob( cancelJob |
void | forcedCancelJob( Forcibly cancel a job |
void | restartJob( restartJob |
void | restartJob( restartJob |
void | purgeJob( purgeJob |
void | suspendJob( suspendJob |
void | resumeJob( resumeJob |
java.lang.String | findBestNodeToDisable( Finds the best node to disable |
java.lang.String | findBestLocation( Finds the best new location for a DC |
int[] | cancelJob( cancelJob |
int[] | restartJob( restartJob |
int[] | purgeJob( purgeJob |
int[] | suspendJob( suspendJob |
int[] | resumeJob( resumeJob |
void | createJobStatusSubject( createJobStatusSubject |
java.lang.String | getSchedulerName( Get name of scheduler who owns this job |
void | updateJobUsage( Update job usage data in JOBUSAGE database table |
java.lang.String | getJobUsageByJob( Get job usage data by job |
java.lang.String | getJobUsageBySubmitter( Get job usage data by submitter |
com.ibm.websphere.batch.JobInfo | getJobInfo( Get job status and usage information |
com.ibm.ws.batch.EndpointInfo | getEndpointInfo( Get information related to an endpoint |
java.lang.String[] | getAllJobIds( Get a list of all job ids |
java.lang.String | getAllJobUsage() Get all job usage data |
java.lang.String | getJobLog( Gets the name of the zipped job log |
java.util.ArrayList | getLogMetaData( Gets the log meta data associated with the passed jobid |
java.util.ArrayList | getLogPartList( Gets the log part list associated with the passed jobid and log directory |
java.util.ArrayList | getLogPart( Gets the log part file associated with the passed jobid, log directory, and part file name |
java.util.ArrayList | getLogPartFromLine( Gets the log part file associated with the passed jobid, log directory, and part file name |
java.lang.String | getJobSize( Gets the size of the job log associated with the passed jobid and log directory |
java.lang.String | getJobAge( Gets the age of the job log associated with the passed jobid and log directory |
void | removeJobLog( remove the job log zip file associated with the passed jobid |
void | removeRemoteJobLog( remove the job log zip file associated with the passed jobid |
void | purgeJobLog( purge the job logs associated with the passed jobid and log directory |
void | quiesceLogging( quiesce job logging for the passed jobid |
java.lang.String[] | cancelBatchJobs( get the states of server applications |
void | writeSMF( writeSMF |
void | takeOverSchedulerJobs( take over jobs from scheduler |
void | sendStepNotification( send job step JMX notification from scheduler |
Notification Summary | |
---|---|
job.state.started Indicates a compute grid job has started. | |
step.state.started Indicates a compute grid job step has started. | |
step.state.ended Indicates a compute grid job step has ended. | |
job.state.ended Indicates a compute grid job has ended. | |
job.state.suspend.pending Job in suspend pending | |
job.state.resume.pending Job in resume pending | |
job.state.cancel.pending Job in cancel pending | |
job.state.submit.pending Job in submit pending | |
job.state.stop.pending Job in stop pending | |
job.state.suspended Job is suspended | |
job.state.submitted Job is submitted | |
job.state.cancelled Job is cancelled | |
job.state.stopped Job is stopped | |
parallel.job.complete parallel. |
Operation Detail |
---|
public com.ibm.ws.batch.JobStatusDO[] getAllJobStatus()
getAllJobStatus
administrator
operator
public void cancelJob(
java.lang.String jobID
)
cancelJob
jobID
-
jobID
administrator
operator
public void forcedCancelJob(
java.lang.String jobID
)
Forcibly cancel a job
jobID
-
jobID
administrator
operator
public void restartJob(
java.lang.String jobID
)
restartJob
jobID
-
jobID
administrator
operator
public void restartJob(
java.lang.String jobID,
java.lang.String passedPropertiesString
)
restartJob
jobID
-
jobID passedPropertiesString
-
passedPropertiesString
administrator
operator
public void purgeJob(
java.lang.String jobID
)
purgeJob
jobID
-
jobID
administrator
operator
public void suspendJob(
java.lang.String jobID,
java.lang.String seconds
)
suspendJob
jobID
-
jobID seconds
-
seconds to suspend
administrator
operator
public void resumeJob(
java.lang.String jobID
)
resumeJob
jobID
-
jobID
administrator
operator
public java.lang.String findBestNodeToDisable(
java.lang.String nodeGroupName
)
Finds the best node to disable
nodeGroupName
-
node group name
administrator
operator
public java.lang.String findBestLocation(
java.lang.String dcMemberName,
java.lang.String oldNodeName,
java.lang.Integer healthCondition
)
Finds the best new location for a DC
dcMemberName
-
DC Member name oldNodeName
-
old node name healthCondition
-
health condition encountered
administrator
operator
public int[] cancelJob(
java.lang.String[] jobID
)
cancelJob
jobID
-
jobID
administrator
operator
public int[] restartJob(
java.lang.String[] jobID
)
restartJob
jobID
-
jobID
administrator
operator
public int[] purgeJob(
java.lang.String[] jobID
)
purgeJob
jobID
-
jobID
administrator
operator
public int[] suspendJob(
java.lang.String[] jobID,
java.lang.String seconds
)
suspendJob
jobID
-
jobID seconds
-
seconds to suspend
administrator
operator
public int[] resumeJob(
java.lang.String[] jobID
)
resumeJob
jobID
-
jobID
administrator
operator
public void createJobStatusSubject(
com.ibm.ws.batch.JobStatusDO[] jsDO
)
createJobStatusSubject
jsDO
-
array of job status data object
administrator
operator
public java.lang.String getSchedulerName(
java.lang.String jobID
)
Get name of scheduler who owns this job
jobID
-
jobID
administrator
operator
public void updateJobUsage(
com.ibm.ws.batch.sensor.EndpointSensorJob[] jobs
)
Update job usage data in JOBUSAGE database table
jobs
-
an array of job usage data to be created or updated
administrator
operator
public java.lang.String getJobUsageByJob(
java.lang.String jobID,
java.lang.Long startTime
)
Get job usage data by job
jobID
-
jobID startTime
-
time job started
administrator
operator
public java.lang.String getJobUsageBySubmitter(
java.lang.String submitter
)
Get job usage data by submitter
submitter
-
submitter id
administrator
operator
public com.ibm.websphere.batch.JobInfo getJobInfo(
java.lang.String jobId
)
Get job status and usage information
jobId
-
job id
administrator
operator
public com.ibm.ws.batch.EndpointInfo getEndpointInfo(
java.lang.String endpointName
)
Get information related to an endpoint
endpointName
-
endpoint Name
administrator
operator
public java.lang.String[] getAllJobIds(
java.lang.String jobIdFilter,
java.lang.String submitterFilter,
java.lang.Integer jobStateFilter
)
Get a list of all job ids
jobIdFilter
-
job identifier filter submitterFilter
-
job submitter id filter jobStateFilter
-
job state filter
administrator
operator
public java.lang.String getAllJobUsage()
Get all job usage data
administrator
operator
public java.lang.String getJobLog(
java.lang.String jobid
)
Gets the name of the zipped job log
jobid
-
job identifier
administrator
operator
public java.util.ArrayList getLogMetaData(
java.lang.String jobid,
java.lang.String requestingScheduler
)
Gets the log meta data associated with the passed jobid
jobid
-
job identifier requestingScheduler
-
requesting scheduler name
administrator
operator
public java.util.ArrayList getLogPartList(
java.lang.String jobid,
java.lang.String logSubDirName,
java.lang.String requestingScheduler
)
Gets the log part list associated with the passed jobid and log directory
jobid
-
job identifier logSubDirName
-
log subdirectory name requestingScheduler
-
requesting scheduler name
administrator
operator
public java.util.ArrayList getLogPart(
java.lang.String jobid,
java.lang.String logSubDirName,
java.lang.String partName,
java.lang.String requestingScheduler
)
Gets the log part file associated with the passed jobid, log directory, and part file name
jobid
-
job identifier logSubDirName
-
log subdirectory name partName
-
log part file name requestingScheduler
-
requesting scheduler name
administrator
operator
public java.util.ArrayList getLogPartFromLine(
java.lang.String jobid,
java.lang.String logSubDirName,
java.lang.String partName,
java.lang.Integer startFromLine,
java.lang.String requestingScheduler
)
Gets the log part file associated with the passed jobid, log directory, and part file name
jobid
-
job identifier logSubDirName
-
log subdirectory name partName
-
log part file name startFromLine
-
start line to retrieve log requestingScheduler
-
requesting scheduler name
administrator
operator
public java.lang.String getJobSize(
java.lang.String jobid,
java.lang.String logSubDirName
)
Gets the size of the job log associated with the passed jobid and log directory
jobid
-
job identifier logSubDirName
-
log subdirectory name
administrator
operator
public java.lang.String getJobAge(
java.lang.String jobid,
java.lang.String logSubDirName
)
Gets the age of the job log associated with the passed jobid and log directory
jobid
-
job identifier logSubDirName
-
log subdirectory name
administrator
operator
public void removeJobLog(
java.lang.String jobid
)
remove the job log zip file associated with the passed jobid
jobid
-
job identifier
administrator
operator
public void removeRemoteJobLog(
java.lang.String jobid
)
remove the job log zip file associated with the passed jobid
jobid
-
job identifier
administrator
operator
public void purgeJobLog(
java.lang.String jobid,
java.lang.String logSubDirName
)
purge the job logs associated with the passed jobid and log directory
jobid
-
job identifier logSubDirName
-
log subdirectory name
administrator
operator
public void quiesceLogging(
java.lang.String jobid
)
quiesce job logging for the passed jobid
jobid
-
job identifier
administrator
operator
public java.lang.String[] cancelBatchJobs(
java.lang.String node,
java.lang.String server,
java.lang.String application
)
get the states of server applications
node
-
node name server
-
server name application
-
application name
administrator
operator
public void writeSMF(
com.ibm.ws.batch.JobUsageDO[] juDO,
java.lang.Integer recordCount
)
writeSMF
juDO
-
array of job usage data object recordCount
-
count of job usage data objects for ended jobs
administrator
operator
public void takeOverSchedulerJobs(
java.lang.String schedulerNodeName,
java.lang.String schedulerServerName
)
take over jobs from scheduler
schedulerNodeName
-
name of the down scheduler node schedulerServerName
-
name of the down scheduler server
administrator
operator
public void sendStepNotification(
java.lang.String type,
com.ibm.websphere.batch.StepStatusJMXNotificationData StepStatusJMXNotificationData
)
send job step JMX notification from scheduler
type
-
notification type StepStatusJMXNotificationData
-
step status notification object
administrator
operator
Notification Detail |
---|
Indicates a compute grid job has started.
6
(Normal, Cleared, or Informative)
Indicates a compute grid job step has started.
6
(Normal, Cleared, or Informative)
Indicates a compute grid job step has ended.
6
(Normal, Cleared, or Informative)
Indicates a compute grid job has ended.
6
(Normal, Cleared, or Informative)
Job in suspend pending
6
(Normal, Cleared, or Informative)
Job in resume pending
6
(Normal, Cleared, or Informative)
Job in cancel pending
6
(Normal, Cleared, or Informative)
Job in submit pending
6
(Normal, Cleared, or Informative)
Job in stop pending
6
(Normal, Cleared, or Informative)
Job is suspended
6
(Normal, Cleared, or Informative)
Job is submitted
6
(Normal, Cleared, or Informative)
Job is cancelled
6
(Normal, Cleared, or Informative)
Job is stopped
6
(Normal, Cleared, or Informative)
parallel.job.complete
6
(Normal, Cleared, or Informative)