Class DefaultSolrServerCommandExecutor
- java.lang.Object
-
- de.hybris.platform.solrserver.strategies.impl.DefaultSolrServerCommandExecutor
-
- All Implemented Interfaces:
SolrServerCommandExecutor
public class DefaultSolrServerCommandExecutor extends java.lang.Object implements SolrServerCommandExecutor
Default implementation ofSolrServerCommandExecutor.
-
-
Constructor Summary
Constructors Constructor Description DefaultSolrServerCommandExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringbuildExternalCommandClassName(java.lang.String command)voidexecuteCommand(java.lang.String command, java.util.Map<java.lang.String,java.lang.String> configuration)Executes a command.protected voidexecuteExternalCommand(java.lang.String command, java.util.Map<java.lang.String,java.lang.String> configuration)java.util.Map<java.lang.String,SolrServerCommand>getInternalCommands()voidsetInternalCommands(java.util.Map<java.lang.String,SolrServerCommand> internalCommands)
-
-
-
Method Detail
-
getInternalCommands
public java.util.Map<java.lang.String,SolrServerCommand> getInternalCommands()
-
setInternalCommands
public void setInternalCommands(java.util.Map<java.lang.String,SolrServerCommand> internalCommands)
-
executeCommand
public void executeCommand(java.lang.String command, java.util.Map<java.lang.String,java.lang.String> configuration) throws SolrServerExceptionDescription copied from interface:SolrServerCommandExecutorExecutes a command.- Specified by:
executeCommandin interfaceSolrServerCommandExecutor- Parameters:
command- - the commandconfiguration- - the configuration- Throws:
SolrServerException- if an error occurs during shutdown
-
executeExternalCommand
protected void executeExternalCommand(java.lang.String command, java.util.Map<java.lang.String,java.lang.String> configuration) throws SolrServerException- Throws:
SolrServerException
-
buildExternalCommandClassName
protected java.lang.String buildExternalCommandClassName(java.lang.String command)
-
-