Skip to content

Commit 6e251a4

Browse files
committed
javadoc fixes
1 parent aed254c commit 6e251a4

File tree

1 file changed

+2
-3
lines changed
  • java-client/src/main/java/co/elastic/clients/elasticsearch/_helpers/bulk

1 file changed

+2
-3
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/_helpers/bulk/BulkIngester.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ public Builder<Context> client(ElasticsearchClient client) {
429429
}
430430

431431
/**
432-
* Sets when to flush a new bulk request based on the number of operations currently added.
433-
* Defaults to
432+
* Sets when to flush a new bulk request based on the number of operations currently added. Defaults to
434433
* {@code 1000}. Can be set to {@code -1} to disable it.
435434
*
436435
* @throws IllegalArgumentException if less than -1.
@@ -494,7 +493,7 @@ public Builder<Context> flushInterval(long value, TimeUnit unit) {
494493
* <p>
495494
* Flushing is still subject to the maximum number of requests set with
496495
* {@link #maxConcurrentRequests}.
497-
* Deprecated in favor of {@link #scheduler}
496+
* @deprecated use {@link #scheduler(ScheduledExecutorService)}
498497
*/
499498
@Deprecated
500499
public Builder<Context> flushInterval(long value, TimeUnit unit, ScheduledExecutorService scheduler) {

0 commit comments

Comments
 (0)