JobScheduleDeletePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. JobScheduleDeletePollerAsync
- com.
public final class JobScheduleDeletePollerAsync
Async poller class used by beginDeleteJobSchedule to implement polling logic for deleting a BatchJobSchedule. Returns BatchJobSchedule values during polling and null upon successful deletion.
Constructor Summary
| Constructor | Description |
|---|---|
| JobScheduleDeletePollerAsync(BatchAsyncClient batchAsyncClient, String jobScheduleId, RequestOptions options) |
Creates a new JobScheduleDeletePollerAsync. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation to start the delete. |
|
Bi |
getCancelOperation()
Cancel operation (not supported for delete). |
|
Function<Polling |
getFetchResultOperation()
Final result fetch operation (returns null; not required). |
|
Function<Polling |
getPollOperation()
Poll operation to check if the job schedule is still being deleted or is gone. |
Methods inherited from java.lang.Object
Constructor Details
JobScheduleDeletePollerAsync
public JobScheduleDeletePollerAsync(BatchAsyncClient batchAsyncClient, String jobScheduleId, RequestOptions options)
Creates a new JobScheduleDeletePollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchJobSchedule>,Mono<PollResponse<BatchJobSchedule>>> getActivationOperation()
Activation operation to start the delete.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchJobSchedule>,PollResponse<BatchJobSchedule>,Mono<BatchJobSchedule>> getCancelOperation()
Cancel operation (not supported for delete).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchJobSchedule>,Mono<Void>> getFetchResultOperation()
Final result fetch operation (returns null; not required).
Returns:
getPollOperation
public Function<PollingContext<BatchJobSchedule>,Mono<PollResponse<BatchJobSchedule>>> getPollOperation()
Poll operation to check if the job schedule is still being deleted or is gone.
Returns: