JobDisablePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. JobDisablePollerAsync
- com.
public final class JobDisablePollerAsync
Constructor Summary
| Constructor | Description |
|---|---|
| JobDisablePollerAsync(BatchAsyncClient batchAsyncClient, String jobId, BatchJobDisableParameters parameters, RequestOptions options) |
Creates a new JobDisablePollerAsync. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation to start the disable. |
|
Bi |
getCancelOperation()
Cancel operation (not supported for disable). |
|
Function<Polling |
getFetchResultOperation()
Final result fetch operation. |
|
Function<Polling |
getPollOperation()
Poll operation to check the job's disablement state. |
Methods inherited from java.lang.Object
Constructor Details
JobDisablePollerAsync
public JobDisablePollerAsync(BatchAsyncClient batchAsyncClient, String jobId, BatchJobDisableParameters parameters, RequestOptions options)
Creates a new JobDisablePollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchJob>,Mono<PollResponse<BatchJob>>> getActivationOperation()
Activation operation to start the disable.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchJob>,PollResponse<BatchJob>,Mono<BatchJob>> getCancelOperation()
Cancel operation (not supported for disable).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchJob>,Mono<BatchJob>> getFetchResultOperation()
Final result fetch operation.
Returns:
getPollOperation
public Function<PollingContext<BatchJob>,Mono<PollResponse<BatchJob>>> getPollOperation()
Poll operation to check the job's disablement state.
Returns: