Skip to content

Commit

Permalink
HSEARCH-4134 Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
fax4ever and yrodiere committed Mar 31, 2021
1 parent 35a6c70 commit a6793b9
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -11,7 +11,6 @@
import org.hibernate.search.mapper.orm.automaticindexing.AutomaticIndexingStrategyNames;
import org.hibernate.search.mapper.orm.automaticindexing.session.AutomaticIndexingSynchronizationStrategyNames;
import org.hibernate.search.mapper.orm.automaticindexing.spi.AutomaticIndexingStrategy;
import org.hibernate.search.mapper.orm.cfg.spi.HibernateOrmMapperSpiSettings;
import org.hibernate.search.mapper.orm.mapping.HibernateOrmSearchMappingConfigurer;
import org.hibernate.search.mapper.orm.schema.management.SchemaManagementStrategyName;
import org.hibernate.search.mapper.orm.search.loading.EntityLoadingCacheLookupStrategy;
Expand Down Expand Up @@ -88,8 +87,7 @@ private HibernateOrmMapperSettings() {
* The polling interval for the outbox events table, in milliseconds.
* <p>
* Only available when {@link #AUTOMATIC_INDEXING_STRATEGY} is
* {@link AutomaticIndexingStrategyNames#OUTBOX_POLLING} and
* {@link HibernateOrmMapperSpiSettings#AUTOMATIC_INDEXING_PROCESS_OUTBOX_TABLE} is {@code true}.
* {@link AutomaticIndexingStrategyNames#OUTBOX_POLLING}.
* <p>
* Hibernate Search will wait that long before polling again if the last polling didn't return any event:
* <ul>
Expand All @@ -108,8 +106,7 @@ private HibernateOrmMapperSettings() {
* How many outbox events to process in the same transaction.
* <p>
* Only available when {@link #AUTOMATIC_INDEXING_STRATEGY} is
* {@link AutomaticIndexingStrategyNames#OUTBOX_POLLING} and
* {@link HibernateOrmMapperSpiSettings#AUTOMATIC_INDEXING_PROCESS_OUTBOX_TABLE} is {@code true}.
* {@link AutomaticIndexingStrategyNames#OUTBOX_POLLING}.
* <p>
* Expects a positive Integer value, such as {@code 50},
* or a String that can be parsed into such Integer value.
Expand Down

0 comments on commit a6793b9

Please sign in to comment.