ResourceManagerThrottlingInterceptor Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. utils. ResourceManagerThrottlingInterceptor
- com.
Implements
okhttp3.Interceptor
public class ResourceManagerThrottlingInterceptor
implements okhttp3.Interceptor
An interceptor for automatic retry when Azure Resource Manager is throttling because of too many read/write requests.
For each subscription and tenant, Azure Resource Manager limits read requests to 15,000 per hour and write requests to 1,200 per hour. These limits apply to each Azure Resource Manager instance.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ResourceManagerThrottlingInterceptor() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| okhttp3.Response | intercept(Interceptor.Chain chain) |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
ResourceManagerThrottlingInterceptor
public ResourceManagerThrottlingInterceptor()
Method Details
intercept
public Response intercept(Interceptor.Chain chain)
Parameters:
chain
Throws:
java.io.IOException