JobSchedules.delete 方法
定义
重载
delete(String jobScheduleId) |
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
|
delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions) |
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
|
delete(String jobScheduleId)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
public void delete(String jobScheduleId)
参数
- jobScheduleId
- String
The ID of the job schedule to delete.
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent
delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
public void delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
参数
- jobScheduleId
- String
The ID of the job schedule to delete.
- jobScheduleDeleteOptions
- JobScheduleDeleteOptions
Additional parameters for the operation
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent