Package org.apache.dubbo.metrics.data
Class ServiceStatComposite
java.lang.Object
org.apache.dubbo.metrics.report.AbstractMetricsExport
org.apache.dubbo.metrics.data.ServiceStatComposite
- All Implemented Interfaces:
MetricsExport
Service-level data container, for the initialized MetricsKey,
different from the null value of the Map type (the key is not displayed when there is no data),
the key is displayed and the initial data is 0 value of the AtomicLong type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexport(MetricsCategory category) export all.voidincrementExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, Map<String, String> extra, int size) voidincrementServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int size) voidinitWrapper(List<MetricsKeyWrapper> metricsKeyWrappers) voidsetExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int num, Map<String, String> extra) voidsetServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int num) Methods inherited from class org.apache.dubbo.metrics.report.AbstractMetricsExport
getApplicationModel, getAppName
-
Constructor Details
-
ServiceStatComposite
-
-
Method Details
-
initWrapper
-
incrementServiceKey
-
incrementExtraServiceKey
public void incrementExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, Map<String, String> extra, int size) -
setServiceKey
-
setExtraServiceKey
public void setExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int num, Map<String, String> extra) -
export
Description copied from interface:MetricsExportexport all.
-