Class IndexerProperties
- java.lang.Object
-
- com.broadleafcommerce.search.index.autoconfigure.IndexerProperties
-
@ConfigurationProperties(prefix="broadleaf.indexer") public class IndexerProperties extends Object
Properties used for indexer configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexerProperties.QueuePropertiesstatic classIndexerProperties.SearchPropertiesstatic classIndexerProperties.TenantPropertiesThe service client to use when interacting with the search service.
-
Constructor Summary
Constructors Constructor Description IndexerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)longgetCompletionPauseTime()This is the time that the main control thread will pause on indexing process completion to allow other threads to finish what they are doing or catch up.IndexerProperties.QueuePropertiesgetQueue()IndexerProperties.SearchPropertiesgetSearch()IndexerProperties.TenantPropertiesgetTenant()intgetWorkerThreads()The number of worker threads which should be started on a reindex process.inthashCode()voidsetCompletionPauseTime(long completionPauseTime)This is the time that the main control thread will pause on indexing process completion to allow other threads to finish what they are doing or catch up.voidsetQueue(IndexerProperties.QueueProperties queue)voidsetSearch(IndexerProperties.SearchProperties search)voidsetTenant(IndexerProperties.TenantProperties tenant)voidsetWorkerThreads(int workerThreads)The number of worker threads which should be started on a reindex process.StringtoString()
-
-
-
Method Detail
-
getQueue
public IndexerProperties.QueueProperties getQueue()
-
getSearch
public IndexerProperties.SearchProperties getSearch()
-
getTenant
public IndexerProperties.TenantProperties getTenant()
-
getWorkerThreads
public int getWorkerThreads()
The number of worker threads which should be started on a reindex process.- Returns:
- number of worker threads on a reindex process
-
getCompletionPauseTime
public long getCompletionPauseTime()
This is the time that the main control thread will pause on indexing process completion to allow other threads to finish what they are doing or catch up.- Returns:
- time to wait on indexing completion for other threads finishing
-
setQueue
public void setQueue(IndexerProperties.QueueProperties queue)
-
setSearch
public void setSearch(IndexerProperties.SearchProperties search)
-
setTenant
public void setTenant(IndexerProperties.TenantProperties tenant)
-
setWorkerThreads
public void setWorkerThreads(int workerThreads)
The number of worker threads which should be started on a reindex process.- Parameters:
workerThreads- number of worker threads on a reindex process
-
setCompletionPauseTime
public void setCompletionPauseTime(long completionPauseTime)
This is the time that the main control thread will pause on indexing process completion to allow other threads to finish what they are doing or catch up.- Parameters:
completionPauseTime- time to wait on indexing completion for other threads finishing
-
canEqual
protected boolean canEqual(Object other)
-
-