public interface PerfMetricsProvider
Modifier and Type | Method and Description |
---|---|
Perf |
addPerfIfAbsent(String perfName)
Add a new performance monitor if one has not existed, else return the
existing one.
|
void |
clearMetrics(String perfName)
Clear all metrics for the given
Perf 's name. |
void |
clearPerfs()
Clear all performance measurements.
|
Collection<Perf> |
getAllPerfs()
Get all
Perf 's. |
Perf |
getPerf(String perfName)
Retrieve the
Perf instance for the given name. |
Collection<Perf> getAllPerfs()
Perf
's.Perf getPerf(String perfName)
Perf
instance for the given name.perfName
- name of Perf structurePerf addPerfIfAbsent(String perfName)
perfName
- performance monitor namevoid clearPerfs()
Copyright © 2015. All Rights Reserved.