JobSchedules.disableAsync 方法

定义

重载

disableAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

disableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

disableAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

public Observable<Void> disableAsync(String jobScheduleId)

参数

jobScheduleId
String

The ID of the job schedule to disable.

返回

Observable<Void>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

disableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

public ServiceFuture<Void> disableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

参数

jobScheduleId
String

The ID of the job schedule to disable.

serviceCallback
final ServiceCallback<Void>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<Void>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

public Observable<Void> disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

参数

jobScheduleId
String

The ID of the job schedule to disable.

jobScheduleDisableOptions
JobScheduleDisableOptions

Additional parameters for the operation

返回

Observable<Void>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

public ServiceFuture<Void> disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback<Void> serviceCallback)

参数

jobScheduleId
String

The ID of the job schedule to disable.

jobScheduleDisableOptions
JobScheduleDisableOptions

Additional parameters for the operation

serviceCallback
final ServiceCallback<Void>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<Void>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于