Class CollectionIndexerProperties
- java.lang.Object
-
- com.broadleafcommerce.search.index.autoconfigure.CollectionIndexerProperties
-
public class CollectionIndexerProperties extends Object
-
-
Constructor Summary
Constructors Constructor Description CollectionIndexerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)intgetBatchSize()The size of each batch to read for queue loading.intgetChunkSize()The size of each chunk to be put on the queue.inthashCode()voidsetBatchSize(int batchSize)The size of each batch to read for queue loading.voidsetChunkSize(int chunkSize)The size of each chunk to be put on the queue.StringtoString()
-
-
-
Method Detail
-
getBatchSize
public int getBatchSize()
The size of each batch to read for queue loading.- Returns:
- size of each batch to read for queue loading
-
getChunkSize
public int getChunkSize()
The size of each chunk to be put on the queue. Note:CollectionIndexerWebClientProperties#getWebClientBufferSizeInBytes()should also be considered when specifying the chunk size for a collection's indexer. The WebClient should be able to gather a chunk of indexables and not exceed the buffer limit.- Returns:
- size of each chunk to be put on the queue
-
setBatchSize
public void setBatchSize(int batchSize)
The size of each batch to read for queue loading.- Parameters:
batchSize- size of each batch to read for queue loading
-
setChunkSize
public void setChunkSize(int chunkSize)
The size of each chunk to be put on the queue. Note:CollectionIndexerWebClientProperties#getWebClientBufferSizeInBytes()should also be considered when specifying the chunk size for a collection's indexer. The WebClient should be able to gather a chunk of indexables and not exceed the buffer limit.- Parameters:
chunkSize- size of each chunk to be put on the queue
-
canEqual
protected boolean canEqual(Object other)
-
-