public class RtStatComposite extends AbstractMetricsExport
| Constructor and Description |
|---|
RtStatComposite(ApplicationModel applicationModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
calcMethodKeyRt(Invocation invocation,
String registryOpType,
Long responseTime) |
void |
calcServiceKeyRt(Invocation invocation,
String registryOpType,
Long responseTime) |
void |
calcServiceKeyRt(String registryOpType,
Long responseTime,
Metric key) |
boolean |
calSamplesChanged()
Check if samples have been changed.
|
List<MetricSample> |
export(MetricsCategory category)
export all.
|
List<LongContainer<? extends Number>> |
getRtStats() |
void |
init(MetricsPlaceValue... placeValues) |
getApplicationModel, getAppNamepublic RtStatComposite(ApplicationModel applicationModel)
public void init(MetricsPlaceValue... placeValues)
public void calcServiceKeyRt(Invocation invocation, String registryOpType, Long responseTime)
public void calcMethodKeyRt(Invocation invocation, String registryOpType, Long responseTime)
public List<MetricSample> export(MetricsCategory category)
MetricsExportpublic List<LongContainer<? extends Number>> getRtStats()
public boolean calSamplesChanged()
MetricsExportCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.