Class CollectionIndexerWebClientProperties

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

public class CollectionIndexerWebClientProperties extends Object
  • Constructor Details

    • CollectionIndexerWebClientProperties

      public CollectionIndexerWebClientProperties()
  • Method Details

    • getWebClientBufferLimitInBytes

      public int getWebClientBufferLimitInBytes()
      When a Solr collection is indexed, we make use of a WebClient to make batched calls to gather the indexable objects. This property defines the limit of the WebClient's buffer limit and should represent how much memory is required to gather a batch of indexables. The maximum size of each batch is defined by CollectionIndexerProperties.getChunkSize().
      Returns:
      size of the WebClient's buffer
    • setWebClientBufferLimitInBytes

      public void setWebClientBufferLimitInBytes(int webClientBufferLimitInBytes)
      When a Solr collection is indexed, we make use of a WebClient to make batched calls to gather the indexable objects. This property defines the limit of the WebClient's buffer limit and should represent how much memory is required to gather a batch of indexables. The maximum size of each batch is defined by CollectionIndexerProperties.getChunkSize().
      Parameters:
      webClientBufferLimitInBytes - size of the WebClient's buffer
    • 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