public class AutoScalingHandler extends RequestHandlerBase implements PermissionNameProvider
PermissionNameProvider.Name
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
container |
static String |
HANDLER_PATH |
appends, defaults, httpCaching, initArgs, invariants
ANY, NULL, values
TYPE
Constructor and Description |
---|
AutoScalingHandler(CoreContainer container) |
Modifier and Type | Method and Description |
---|---|
Collection<Api> |
getApis()
It is possible to support multiple v2 apis by a single requesthandler
|
String |
getDescription()
Simple one or two line description
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext request) |
SolrRequestHandler |
getSubHandler(String path)
Return a RequestHandler to handle a subpath from the path this handler is registered.
|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
processOps(SolrQueryRequest req,
SolrQueryResponse rsp,
List<CommandOperation> ops) |
Boolean |
registerV2()
Whether this request handler must be made available at the /v2/ path
|
getCategory, getInitArgs, getMetricNames, getMetricRegistry, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
registerV1
public static final String HANDLER_PATH
protected final CoreContainer container
public AutoScalingHandler(CoreContainer container)
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public void processOps(SolrQueryRequest req, SolrQueryResponse rsp, List<CommandOperation> ops) throws org.apache.zookeeper.KeeperException, InterruptedException, IOException
org.apache.zookeeper.KeeperException
InterruptedException
IOException
public String getDescription()
SolrInfoBean
getDescription
in interface SolrInfoBean
getDescription
in class RequestHandlerBase
public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
getPermissionName
in interface PermissionNameProvider
public Collection<Api> getApis()
ApiSupport
getApis
in interface ApiSupport
getApis
in class RequestHandlerBase
public Boolean registerV2()
ApiSupport
registerV2
in interface ApiSupport
public SolrRequestHandler getSubHandler(String path)
NestedRequestHandler
getSubHandler
in interface NestedRequestHandler
getSubHandler
in class RequestHandlerBase
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.