NodeDeallocatePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. NodeDeallocatePollerAsync
- com.
public final class NodeDeallocatePollerAsync
Async poller class used by beginDeallocateNode to implement polling logic for deallocating a BatchNode. Returns BatchNode values during polling and the final BatchNode upon successful completion.
If the node is no longer found (e.g., due to pool deletion), the operation is treated as successfully completed.
Constructor Summary
| Constructor | Description |
|---|---|
| NodeDeallocatePollerAsync(BatchAsyncClient batchAsyncClient, String poolId, String nodeId, RequestOptions options) |
Creates a new NodeDeallocatePollerAsync. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation to start the deallocate process. |
|
Bi |
getCancelOperation()
Cancel operation (not supported for deallocate). |
|
Function<Polling |
getFetchResultOperation()
Final result fetch operation. |
|
Function<Polling |
getPollOperation()
Poll operation to check the node's state. |
Methods inherited from java.lang.Object
Constructor Details
NodeDeallocatePollerAsync
public NodeDeallocatePollerAsync(BatchAsyncClient batchAsyncClient, String poolId, String nodeId, RequestOptions options)
Creates a new NodeDeallocatePollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchNode>,Mono<PollResponse<BatchNode>>> getActivationOperation()
Activation operation to start the deallocate process.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchNode>,PollResponse<BatchNode>,Mono<BatchNode>> getCancelOperation()
Cancel operation (not supported for deallocate).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchNode>,Mono<BatchNode>> getFetchResultOperation()
Final result fetch operation.
Returns:
getPollOperation
public Function<PollingContext<BatchNode>,Mono<PollResponse<BatchNode>>> getPollOperation()
Poll operation to check the node's state.
Returns: