public abstract class ShardHandlerFactory extends Object
Modifier and Type | Field and Description |
---|---|
static PluginInfo |
DEFAULT_SHARDHANDLER_INFO |
Constructor and Description |
---|
ShardHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract ShardHandler |
getShardHandler() |
static ShardHandlerFactory |
newInstance(PluginInfo info,
SolrResourceLoader loader)
Create a new ShardHandlerFactory instance
|
public static final PluginInfo DEFAULT_SHARDHANDLER_INFO
public abstract ShardHandler getShardHandler()
public abstract void close()
public static ShardHandlerFactory newInstance(PluginInfo info, SolrResourceLoader loader)
info
- a PluginInfo object defining which type to create. If null,
the default HttpShardHandlerFactory
will be usedloader
- a SolrResourceLoader used to find the ShardHandlerFactory classesCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.