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