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 boolean
canEqual(Object other)
boolean
equals(Object o)
int
getBatchSize()
The size of each batch to read for queue loading.int
getChunkSize()
The size of each chunk to be put on the queue.int
hashCode()
void
setBatchSize(int batchSize)
The size of each batch to read for queue loading.void
setChunkSize(int chunkSize)
The size of each chunk to be put on the queue.String
toString()
-
-
-
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)
-
-