Class CollectionIndexerProperties
java.lang.Object
com.broadleafcommerce.search.index.autoconfigure.CollectionIndexerProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe size of each batch to read for queue loading.intThe 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.toString()
-
Constructor Details
-
CollectionIndexerProperties
public CollectionIndexerProperties()
-
-
Method Details
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-