| 程序包 | 说明 |
|---|---|
| com.alipay.lookout.api | |
| com.alipay.lookout.api.composite | |
| com.alipay.lookout.common.top |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MetricRegistry
Created by kevin.luy@alipay.com on 2017/2/14.
|
class |
NoopRegistry
Registry implementation that does nothing.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Registry |
Lookout.registry() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Lookout.setRegistry(Registry registry)
this method can only invoke once,but you can set a compositeRegistry.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompositeRegistry
Created by kevin.luy@alipay.com on 2017/2/14.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<Registry> |
CompositeRegistry.getRegistries()
get all registry
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CompositeRegistry.remove(Registry registry)
Remove a registry from the composite.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TopGauger |
TopUtil.topGauger(Registry registry,
Id id,
int maxNumber)
新创建一个 TopGuager 实例,不用重复创建相同的 TopGuager,需要复用;
「默认降序」;
|
static TopGauger |
TopUtil.topGauger(Registry registry,
Id id,
int maxNumber,
TopUtil.Order order) |
Copyright © 2018. All rights reserved.