Skip to content

Commit

Permalink
HSEARCH-3715 Document MassIndexingMonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Sep 23, 2019
1 parent 0b04d71 commit 9016309
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -180,6 +180,19 @@ should not cause any problem.
value to avoid loading too many entities accidentally. The value defined must be greater than 0.
The parameter is not used by default. It is equivalent to keyword `LIMIT` in SQL.

|`monitor(MassIndexingMonitor)`
|A logging monitor.
|
The component responsible for monitoring progress of mass indexing.
+
As a `MassIndexer` can take some time to finish its job,
it is often necessary to monitor its progress.
The default, built-in monitor logs progress periodically at the `INFO` level,
but a custom monitor can be set by implementing the `MassIndexingMonitor` interface
and passing an instance using the `monitor` method.
+
Implementations of `MassIndexingMonitor` must be threadsafe.

|===

[[mapper-orm-indexing-massindexer-tuning]]
Expand Down

0 comments on commit 9016309

Please sign in to comment.