mirror of
https://github.com/apache/lucene.git
synced 2025-02-23 10:51:29 +00:00
SOLR-13659: Refactor Cache config to lazily load the the class
This commit is contained in:
parent
daab5b11b2
commit
15c2fd673a
@ -22,7 +22,6 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import com.codahale.metrics.MetricRegistry;
|
||||
import org.apache.solr.common.util.Utils;
|
||||
import org.apache.solr.metrics.SolrMetricManager;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@ -135,7 +134,6 @@ public class SolrCacheHolder<K, V> implements SolrCache<K,V> {
|
||||
|
||||
@Override
|
||||
public void initializeMetrics(SolrMetricManager manager, String registry, String tag, String scope) {
|
||||
log.debug("Going to register cachemetrics " + Utils.toJSONString(factory));
|
||||
|
||||
delegate.initializeMetrics(manager, registry, tag,scope);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user