public class ServiceStatComposite extends AbstractMetricsExport
| Constructor and Description |
|---|
ServiceStatComposite(ApplicationModel applicationModel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
calSamplesChanged()
Check if samples have been changed.
|
List<MetricSample> |
export(MetricsCategory category)
export all.
|
void |
incrementExtraServiceKey(MetricsKeyWrapper wrapper,
String serviceKey,
Map<String,String> extra,
int size) |
void |
incrementServiceKey(MetricsKeyWrapper wrapper,
String serviceKey,
int size) |
void |
initWrapper(List<MetricsKeyWrapper> metricsKeyWrappers) |
void |
setExtraServiceKey(MetricsKeyWrapper wrapper,
String serviceKey,
int num,
Map<String,String> extra) |
void |
setServiceKey(MetricsKeyWrapper wrapper,
String serviceKey,
int num) |
getApplicationModel, getAppNamepublic ServiceStatComposite(ApplicationModel applicationModel)
public void initWrapper(List<MetricsKeyWrapper> metricsKeyWrappers)
public void incrementServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int size)
public void incrementExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, Map<String,String> extra, int size)
public void setServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int num)
public void setExtraServiceKey(MetricsKeyWrapper wrapper, String serviceKey, int num, Map<String,String> extra)
public List<MetricSample> export(MetricsCategory category)
MetricsExportpublic boolean calSamplesChanged()
MetricsExportCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.