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