Class CollectionIndexerProperties

java.lang.Object
com.broadleafcommerce.search.index.autoconfigure.CollectionIndexerProperties

public class CollectionIndexerProperties extends Object
  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object