public class ResourceManagerThrottlingPolicy extends Object implements com.azure.core.http.policy.HttpPipelinePolicy
| Constructor and Description |
|---|
ResourceManagerThrottlingPolicy(BiConsumer<? super com.azure.core.http.HttpResponse,? super ResourceManagerThrottlingInfo> callback)
Creates the resource manager throttling policy
|
| Modifier and Type | Method and Description |
|---|---|
Mono<com.azure.core.http.HttpResponse> |
process(com.azure.core.http.HttpPipelineCallContext context,
com.azure.core.http.HttpPipelineNextPolicy next) |
public ResourceManagerThrottlingPolicy(BiConsumer<? super com.azure.core.http.HttpResponse,? super ResourceManagerThrottlingInfo> callback)
callback - consume the ResourceManagerThrottlingInfo for every request, it is not a thread-safe methodpublic Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next)
process in interface com.azure.core.http.policy.HttpPipelinePolicyCopyright © 2021 Microsoft Corporation. All rights reserved.