Class DefaultSolrServerConfigPopulator
java.lang.Object
de.hybris.platform.solrfacetsearch.converters.populator.DefaultSolrServerConfigPopulator
- All Implemented Interfaces:
Populator<SolrServerConfigModel,SolrConfig>
public class DefaultSolrServerConfigPopulator
extends Object
implements Populator<SolrServerConfigModel,SolrConfig>
Populates
SolrConfig data using SolrServerConfigModel instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EndpointURLcreateEndpoint(String url, boolean isMaster, Date modifiedTime) voidpopulate(SolrServerConfigModel source, SolrConfig target) Populate the target instance with values from the source instance.protected booleanprotected SolrClientConfigprotected Integerprotected SolrServerModeprotected booleanprotected List<EndpointURL>protected SolrClientConfigprotected IntegervoidsetEndpointUrlConverter(Converter<SolrEndpointUrlModel, EndpointURL> endpointUrlConverter) voidsetSolrClientConfigConverter(Converter<SolrServerConfigModel, SolrClientConfig> solrClientConfigConverter) voidsetSolrIndexingClientConfigConverter(Converter<SolrServerConfigModel, SolrClientConfig> solrIndexingClientConfigConverter)
-
Constructor Details
-
DefaultSolrServerConfigPopulator
public DefaultSolrServerConfigPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SolrServerConfigModel,SolrConfig> - Parameters:
source- the source objecttarget- the target to fill
-
populateConfigUseMasterNodeExclusivelyForIndexing
-
populateConfigNumShards
-
populateReplicationFactor
-
populateAutoAddReplicas
-
populateConfigServerMode
-
populateEndpointUrls
-
createEndpoint
-
populateClientConfig
-
populateIndexingClientConfig
-
getSolrClientConfigConverter
-
setSolrClientConfigConverter
public void setSolrClientConfigConverter(Converter<SolrServerConfigModel, SolrClientConfig> solrClientConfigConverter) -
getSolrIndexingClientConfigConverter
-
setSolrIndexingClientConfigConverter
public void setSolrIndexingClientConfigConverter(Converter<SolrServerConfigModel, SolrClientConfig> solrIndexingClientConfigConverter) -
setEndpointUrlConverter
public void setEndpointUrlConverter(Converter<SolrEndpointUrlModel, EndpointURL> endpointUrlConverter)
-