public abstract class BaseStatComposite extends Object implements MetricsExport
MetricsCollector, and
provides an MetricsExport interface for exporting standard output formats.| 构造器和说明 |
|---|
BaseStatComposite() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
calcApplicationRt(String applicationName,
String registryOpType,
Long responseTime) |
void |
calcServiceKeyRt(String applicationName,
String serviceKey,
String registryOpType,
Long responseTime) |
List<GaugeMetricSample> |
export(MetricsCategory category)
export all.
|
ApplicationStatComposite |
getApplicationStatComposite() |
RtStatComposite |
getRtStatComposite() |
void |
incrementApp(MetricsKey metricsKey,
String applicationName,
int size) |
void |
incrementServiceKey(MetricsKey metricsKey,
String applicationName,
String attServiceKey,
int size) |
void |
setApplicationKey(MetricsKey metricsKey,
String applicationName,
int num) |
void |
setServiceKey(MetricsKey metricsKey,
String applicationName,
String serviceKey,
int num) |
public void calcApplicationRt(String applicationName, String registryOpType, Long responseTime)
public void calcServiceKeyRt(String applicationName, String serviceKey, String registryOpType, Long responseTime)
public void setServiceKey(MetricsKey metricsKey, String applicationName, String serviceKey, int num)
public void setApplicationKey(MetricsKey metricsKey, String applicationName, int num)
public void incrementApp(MetricsKey metricsKey, String applicationName, int size)
public void incrementServiceKey(MetricsKey metricsKey, String applicationName, String attServiceKey, int size)
public List<GaugeMetricSample> export(MetricsCategory category)
MetricsExportexport 在接口中 MetricsExportpublic ApplicationStatComposite getApplicationStatComposite()
public RtStatComposite getRtStatComposite()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.