Class SwapCores
java.lang.Object
org.apache.solr.api.JerseyResource
org.apache.solr.handler.admin.api.CoreAdminAPIBase
org.apache.solr.handler.admin.api.SwapCores
- All Implemented Interfaces:
SwapCoresApi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.handler.admin.api.CoreAdminAPIBase
CoreAdminAPIBase.CoreAdminAPIBaseException -
Field Summary
Fields inherited from class org.apache.solr.handler.admin.api.CoreAdminAPIBase
coreAdminAsyncTracker, coreContainer, req, rspFields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext -
Constructor Summary
ConstructorsConstructorDescriptionSwapCores(CoreContainer coreContainer, CoreAdminHandler.CoreAdminAsyncTracker coreAdminAsyncTracker, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse) -
Method Summary
Methods inherited from class org.apache.solr.handler.admin.api.CoreAdminAPIBase
handlePotentiallyAsynchronousTaskMethods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
Constructor Details
-
SwapCores
@Inject public SwapCores(CoreContainer coreContainer, CoreAdminHandler.CoreAdminAsyncTracker coreAdminAsyncTracker, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Details
-
swapCores
public SolrJerseyResponse swapCores(String coreName, SwapCoresRequestBody requestBody) throws Exception - Specified by:
swapCoresin interfaceSwapCoresApi- Throws:
Exception
-