NULL_METRIC, PATH_SEPARATOR| Constructor and Description |
|---|
SimpleMetric(MetricStore metricStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
countOnce(java.lang.String name)
Call this method to increase one time for the counter specified
|
Timer |
startTimer(java.lang.String name)
Call this method to start a
Timer before starting a process. |
public SimpleMetric(MetricStore metricStore)
public Timer startTimer(java.lang.String name)
MetricCall this method to start a Timer before starting a process.
Note calling this method should automatically call Metric.countOnce(String) method with the name specified
startTimer in interface Metricname - A string specifies the timerCopyright © 2014–2017 ActFramework. All rights reserved.