| Package | Description |
|---|---|
| com.huaweicloud.sdk.roma.v2 | |
| com.huaweicloud.sdk.roma.v2.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<CreateRequestThrottlingPolicyV2Request,CreateRequestThrottlingPolicyV2Response> |
RomaMeta.createRequestThrottlingPolicyV2 |
| Modifier and Type | Method and Description |
|---|---|
AsyncInvoker<CreateRequestThrottlingPolicyV2Request,CreateRequestThrottlingPolicyV2Response> |
RomaAsyncClient.createRequestThrottlingPolicyV2AsyncInvoker(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<CreateRequestThrottlingPolicyV2Request,CreateRequestThrottlingPolicyV2Response> |
RomaClient.createRequestThrottlingPolicyV2Invoker(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CreateRequestThrottlingPolicyV2Response |
RomaClient.createRequestThrottlingPolicyV2(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<CreateRequestThrottlingPolicyV2Response> |
RomaAsyncClient.createRequestThrottlingPolicyV2Async(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<CreateRequestThrottlingPolicyV2Request,CreateRequestThrottlingPolicyV2Response> |
RomaAsyncClient.createRequestThrottlingPolicyV2AsyncInvoker(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<CreateRequestThrottlingPolicyV2Request,CreateRequestThrottlingPolicyV2Response> |
RomaClient.createRequestThrottlingPolicyV2Invoker(CreateRequestThrottlingPolicyV2Request request)
创建流控策略
当API上线后,系统会默认给每个API提供一个流控策略,API提供者可以根据自身API的服务能力及负载情况变更这个流控策略。 流控策略即限制API在一定长度的时间内,能够允许被访问的最大次数。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CreateRequestThrottlingPolicyV2Request |
CreateRequestThrottlingPolicyV2Request.withBody(java.util.function.Consumer<ThrottleBaseInfo> bodySetter) |
CreateRequestThrottlingPolicyV2Request |
CreateRequestThrottlingPolicyV2Request.withBody(ThrottleBaseInfo body) |
CreateRequestThrottlingPolicyV2Request |
CreateRequestThrottlingPolicyV2Request.withInstanceId(String instanceId) |
Copyright © 2022. All rights reserved.