org.apache.solr.handler.component
Class ShardHandlerFactory
java.lang.Object
org.apache.solr.handler.component.ShardHandlerFactory
- Direct Known Subclasses:
- HttpShardHandlerFactory
public abstract class ShardHandlerFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SHARDHANDLER_INFO
public static final PluginInfo DEFAULT_SHARDHANDLER_INFO
ShardHandlerFactory
public ShardHandlerFactory()
getShardHandler
public abstract ShardHandler getShardHandler()
close
public abstract void close()
newInstance
public static ShardHandlerFactory newInstance(PluginInfo info,
SolrResourceLoader loader)
- Create a new ShardHandlerFactory instance
- Parameters:
info
- a PluginInfo object defining which type to create. If null,
the default HttpShardHandlerFactory
will be usedloader
- a SolrResourceLoader used to find the ShardHandlerFactory classes
- Returns:
- a new, initialized ShardHandlerFactory instance
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.