| 程序包 | 说明 |
|---|---|
| cn.weforward.common | |
| cn.weforward.common.util |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
Quotas.SimpleQuotas.calcQuota(int quota,
Quotas.Governable resource,
int concurrent) |
int |
Quotas.getQuota(Quotas.Governable governable,
int concurrent)
指定资源的当前可用配额
|
int |
Quotas.SimpleQuotas.getQuota(Quotas.Governable resource,
int concurrent) |
int |
Quotas.use(Quotas.Governable governable,
int concurrent)
使用配额
|
int |
Quotas.SimpleQuotas.use(Quotas.Governable resource,
int concurrent) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ThreadPool
简单线程池
|
Copyright © 2021. All rights reserved.