NodeRemovePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. NodeRemovePollerAsync
- com.
public final class NodeRemovePollerAsync
Async poller used by beginRemoveNodes to drive the *remove nodes* long-running operation.
The poller completes when the pool’s AllocationState returns to steady. A 404 (pool deleted) is also treated as successful completion, returning null as the final result.
Constructor Summary
| Constructor | Description |
|---|---|
| NodeRemovePollerAsync(BatchAsyncClient client, String poolId, BatchNodeRemoveParameters parameters, RequestOptions options) |
Creates a new NodeRemovePollerAsync. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation that sends the initial remove-nodes request. |
|
Bi |
getCancelOperation()
Cancel operation (not supported for remove-nodes). |
|
Function<Polling |
getFetchResultOperation()
Final result fetch operation. |
|
Function<Polling |
getPollOperation()
Poll operation to check the pool's state. |
Methods inherited from java.lang.Object
Constructor Details
NodeRemovePollerAsync
public NodeRemovePollerAsync(BatchAsyncClient client, String poolId, BatchNodeRemoveParameters parameters, RequestOptions options)
Creates a new NodeRemovePollerAsync.
Parameters:
null).
Method Details
getActivationOperation
public Function<PollingContext<BatchPool>,Mono<PollResponse<BatchPool>>> getActivationOperation()
Activation operation that sends the initial remove-nodes request.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchPool>,PollResponse<BatchPool>,Mono<BatchPool>> getCancelOperation()
Cancel operation (not supported for remove-nodes).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchPool>,Mono<BatchPool>> getFetchResultOperation()
Final result fetch operation.
Returns:
getPollOperation
public Function<PollingContext<BatchPool>,Mono<PollResponse<BatchPool>>> getPollOperation()
Poll operation to check the pool's state.
Returns: