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