Package io.ebean.metric
Interface MetricFactory
- 
 public interface MetricFactory Factory to create timed metric counters.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description CountMetriccreateCountMetric(String name)Create a counter metric.QueryPlanMetriccreateQueryPlanMetric(Class<?> type, String label, ProfileLocation profileLocation, String sql)Create a Timed metric.TimedMetriccreateTimedMetric(String name)Create a Timed metric.TimedMetricMapcreateTimedMetricMap(String name)Create a timed metric group.static MetricFactoryget()Return the factory instance.
 
- 
- 
- 
Method Detail- 
getstatic MetricFactory get() Return the factory instance.
 - 
createTimedMetricMapTimedMetricMap createTimedMetricMap(String name) Create a timed metric group.
 - 
createTimedMetricTimedMetric createTimedMetric(String name) Create a Timed metric.
 - 
createCountMetricCountMetric createCountMetric(String name) Create a counter metric.
 - 
createQueryPlanMetricQueryPlanMetric createQueryPlanMetric(Class<?> type, String label, ProfileLocation profileLocation, String sql) Create a Timed metric.
 
- 
 
-