Class CollectionIndexerWebClientProperties
java.lang.Object
com.broadleafcommerce.search.index.autoconfigure.CollectionIndexerWebClientProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
When a Solr collection is indexed, we make use of aWebClient
to make batched calls to gather the indexable objects.int
hashCode()
void
setWebClientBufferLimitInBytes
(int webClientBufferLimitInBytes) When a Solr collection is indexed, we make use of aWebClient
to make batched calls to gather the indexable objects.toString()
-
Constructor Details
-
CollectionIndexerWebClientProperties
public CollectionIndexerWebClientProperties()
-
-
Method Details
-
getWebClientBufferLimitInBytes
public int getWebClientBufferLimitInBytes()When a Solr collection is indexed, we make use of aWebClient
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 byCollectionIndexerProperties.getChunkSize()
.- Returns:
- size of the WebClient's buffer
-
setWebClientBufferLimitInBytes
public void setWebClientBufferLimitInBytes(int webClientBufferLimitInBytes) When a Solr collection is indexed, we make use of aWebClient
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 byCollectionIndexerProperties.getChunkSize()
.- Parameters:
webClientBufferLimitInBytes
- size of the WebClient's buffer
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-