Package org.apache.solr.core
Class PluginBag.LazyPluginHolder<T>
- java.lang.Object
-
- org.apache.solr.core.PluginBag.PluginHolder<T>
-
- org.apache.solr.core.PluginBag.LazyPluginHolder<T>
-
- All Implemented Interfaces:
AutoCloseable
,Supplier<T>
public class PluginBag.LazyPluginHolder<T> extends PluginBag.PluginHolder<T>
A class that loads plugins Lazily. When the get() method is invoked the Plugin is initialized and returned.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.util.ResourceLoader
resourceLoader
protected org.apache.solr.common.SolrException
solrException
-
Fields inherited from class org.apache.solr.core.PluginBag.PluginHolder
inst, pluginInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
boolean
isLoaded()
-
Methods inherited from class org.apache.solr.core.PluginBag.PluginHolder
close, getClassName, getInstance, getPluginInfo, toString
-
-
-
-
Method Detail
-
isLoaded
public boolean isLoaded()
- Overrides:
isLoaded
in classPluginBag.PluginHolder<T>
-
-