org.sonar.core.components
Class CacheMetricFinder
java.lang.Object
org.sonar.core.components.DefaultMetricFinder
org.sonar.core.components.CacheMetricFinder
- All Implemented Interfaces:
- BatchComponent, MetricFinder, ServerComponent
public final class CacheMetricFinder
- extends DefaultMetricFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheMetricFinder
public CacheMetricFinder(DatabaseSessionFactory sessionFactory)
start
public void start()
findById
public Metric findById(int metricId)
- Specified by:
findById
in interface MetricFinder
- Overrides:
findById
in class DefaultMetricFinder
findByKey
public Metric findByKey(String key)
- Specified by:
findByKey
in interface MetricFinder
- Overrides:
findByKey
in class DefaultMetricFinder
findAll
public Collection<Metric> findAll(List<String> metricKeys)
- Specified by:
findAll
in interface MetricFinder
- Overrides:
findAll
in class DefaultMetricFinder
findAll
public Collection<Metric> findAll()
- Specified by:
findAll
in interface MetricFinder
- Overrides:
findAll
in class DefaultMetricFinder
Copyright © 2009-2011 SonarSource. All Rights Reserved.