JobDeletePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. JobDeletePollerAsync
- com.
public final class JobDeletePollerAsync
Constructor Summary
| Constructor | Description |
|---|---|
| JobDeletePollerAsync(BatchAsyncClient batchAsyncClient, String jobId, RequestOptions options) |
Creates a new JobDeletePollerAsync. |
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 is still being deleted or is gone. |
Methods inherited from java.lang.Object
Constructor Details
JobDeletePollerAsync
public JobDeletePollerAsync(BatchAsyncClient batchAsyncClient, String jobId, RequestOptions options)
Creates a new JobDeletePollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchJob>,Mono<PollResponse<BatchJob>>> getActivationOperation()
Activation operation to start the delete.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchJob>,PollResponse<BatchJob>,Mono<BatchJob>> getCancelOperation()
Cancel operation (not supported for delete).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchJob>,Mono<Void>> getFetchResultOperation()
Final result fetch operation (returns null; not required).
Returns:
getPollOperation
public Function<PollingContext<BatchJob>,Mono<PollResponse<BatchJob>>> getPollOperation()
Poll operation to check if the job is still being deleted or is gone.
Returns: