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 class
IndexerProperties.QueueProperties
static class
IndexerProperties.SearchProperties
static class
IndexerProperties.TenantProperties
The 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 boolean
canEqual(Object other)
boolean
equals(Object o)
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.IndexerProperties.QueueProperties
getQueue()
IndexerProperties.SearchProperties
getSearch()
IndexerProperties.TenantProperties
getTenant()
int
getWorkerThreads()
The number of worker threads which should be started on a reindex process.int
hashCode()
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.void
setQueue(IndexerProperties.QueueProperties queue)
void
setSearch(IndexerProperties.SearchProperties search)
void
setTenant(IndexerProperties.TenantProperties tenant)
void
setWorkerThreads(int workerThreads)
The number of worker threads which should be started on a reindex process.String
toString()
-
-
-
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)
-
-