NodeRebootPollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. NodeRebootPollerAsync
- com.
public final class NodeRebootPollerAsync
Constructor Summary
| Constructor | Description |
|---|---|
| NodeRebootPollerAsync(BatchAsyncClient batchAsyncClient, String poolId, String nodeId, RequestOptions options) |
Creates a new NodeRebootPollerAsync. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation to start the reboot. |
|
Bi |
getCancelOperation()
Cancel operation – not supported for reboot. |
|
Function<Polling |
getFetchResultOperation()
Final-result fetch operation. |
|
Function<Polling |
getPollOperation()
Poll operation – watches the node until it leaves |
Methods inherited from java.lang.Object
Constructor Details
NodeRebootPollerAsync
public NodeRebootPollerAsync(BatchAsyncClient batchAsyncClient, String poolId, String nodeId, RequestOptions options)
Creates a new NodeRebootPollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchNode>,Mono<PollResponse<BatchNode>>> getActivationOperation()
Activation operation to start the reboot.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchNode>,PollResponse<BatchNode>,Mono<BatchNode>> getCancelOperation()
Cancel operation – not supported for reboot.
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 – watches the node until it leaves rebooting and reaches idle or running.
Returns: