Class CollectionIndexerProperties


  • public class CollectionIndexerProperties
    extends Object
    • Constructor Detail

      • CollectionIndexerProperties

        public CollectionIndexerProperties()
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object