| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.config.server.constant | |
| com.alibaba.nacos.config.server.service.capacity |
| 限定符和类型 | 方法和说明 |
|---|---|
CounterMode |
CounterMode.reverse()
Reverse the two mode value.
|
static CounterMode |
CounterMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CounterMode[] |
CounterMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
CapacityService.insertAndUpdateClusterUsage(CounterMode counterMode,
boolean ignoreQuotaLimit)
To Cluster. 1.If the capacity information does not exist, initialize the capacity information. 2.Update capacity
usage, plus or minus one.
|
boolean |
CapacityService.insertAndUpdateGroupUsage(CounterMode counterMode,
String group,
boolean ignoreQuotaLimit)
It is used for counting when the limit check function of capacity management is turned off. 1.If the capacity
information does not exist, initialize the capacity information. 2.Update capacity usage, plus or minus one.
|
boolean |
CapacityService.insertAndUpdateTenantUsage(CounterMode counterMode,
String tenant,
boolean ignoreQuotaLimit)
It is used for counting when the limit check function of capacity management is turned off. 1.If the capacity
information does not exist, initialize the capacity information. 2.Update capacity usage, plus or minus one.
|
boolean |
CapacityService.updateClusterUsage(CounterMode counterMode) |
boolean |
CapacityService.updateGroupUsage(CounterMode counterMode,
String group) |
boolean |
CapacityService.updateTenantUsage(CounterMode counterMode,
String tenant) |
Copyright © 2018–2022 Alibaba Group. All rights reserved.