| 接口 | 说明 |
|---|---|
| StatisticCallback |
统计扩展接口,需要统计的资源自行实现后 registry到StatsUtil便可以
|
| 类 | 说明 |
|---|---|
| AccessStatisticResult | |
| ByteUtil | |
| CollectionUtil |
Utils for collections.
|
| ConcurrentHashSet<E> | |
| ExceptionUtil | |
| InternalMetricsFactory |
生成
MetricRegistry 的工厂类。 |
| LoggerUtil | |
| MathUtil | |
| MotanDigestUtil |
摘要算法辅助类
|
| MotanFrameworkUtil |
提供框架内部一些约定处理
|
| MotanSwitcherUtil |
静态开关工具类。
|
| NetUtils |
网络工具类
|
| ReflectUtil |
反射相关的辅助类
|
| RequestIdGenerator |
通过requestId能够知道大致请求的时间
目前是 currentTimeMillis * (2^20) + offset.incrementAndGet()
通过 requestId / (2^20 * 1000) 能够得到秒
|
| StatsUtil | |
| StringTools |
String utils
|
| UrlUtils |
Url辅助类
|
| 枚举 | 说明 |
|---|---|
| StatsUtil.AccessStatus |
Copyright © 2017. All rights reserved.