Class DefaultSolrServerController
- java.lang.Object
-
- de.hybris.platform.solrserver.strategies.impl.DefaultSolrServerController
-
- All Implemented Interfaces:
SolrServerController
public class DefaultSolrServerController extends java.lang.Object implements SolrServerController
Default implementation ofSolrServerController.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringSTART_SERVERS_COMMANDprotected static java.lang.StringSTOP_SERVERS_COMMAND
-
Constructor Summary
Constructors Constructor Description DefaultSolrServerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrServerCommandExecutorgetSolrServerCommandExecutor()SolrServerConfigurationProvidergetSolrServerConfigurationProvider()voidsetSolrServerCommandExecutor(SolrServerCommandExecutor solrServerCommandExecutor)voidsetSolrServerConfigurationProvider(SolrServerConfigurationProvider solrServerConfigurationProvider)voidstartServers()Starts the Solr servers.voidstopServers()Stops the Solr servers.
-
-
-
Field Detail
-
START_SERVERS_COMMAND
protected static final java.lang.String START_SERVERS_COMMAND
- See Also:
- Constant Field Values
-
STOP_SERVERS_COMMAND
protected static final java.lang.String STOP_SERVERS_COMMAND
- See Also:
- Constant Field Values
-
-
Method Detail
-
startServers
public void startServers() throws SolrServerExceptionDescription copied from interface:SolrServerControllerStarts the Solr servers.- Specified by:
startServersin interfaceSolrServerController- Throws:
SolrServerException- if an error occurs
-
stopServers
public void stopServers() throws SolrServerExceptionDescription copied from interface:SolrServerControllerStops the Solr servers.- Specified by:
stopServersin interfaceSolrServerController- Throws:
SolrServerException- if an error occurs
-
getSolrServerConfigurationProvider
public SolrServerConfigurationProvider getSolrServerConfigurationProvider()
-
setSolrServerConfigurationProvider
public void setSolrServerConfigurationProvider(SolrServerConfigurationProvider solrServerConfigurationProvider)
-
getSolrServerCommandExecutor
public SolrServerCommandExecutor getSolrServerCommandExecutor()
-
setSolrServerCommandExecutor
public void setSolrServerCommandExecutor(SolrServerCommandExecutor solrServerCommandExecutor)
-
-