Skip to content

Commit 953f05a

Browse files
authored
Merge pull request #7541 from segmentio/MichaelGHSeg-analytics-java-blocking-flush
Add example for blocking flush to Analytics-Java doc
2 parents fa047bb + 2b4a69a commit 953f05a

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/server/java

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/server/java/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ You can also flush on demand. For example, at the end of your program, you'll wa
372372
analytics.flush()
373373
```
374374

375-
Calling this method will notify the client to upload any events in the queue.
375+
Calling this method notifies the client to upload any events in the queue. If you need a blocking flush implementation, see the [`BlockingFlush` example on GitHub](https://github.com/segmentio/analytics-java/blob/master/analytics-sample/src/main/java/sample/BlockingFlush.java){:target="_blank"}.
376376

377377
## How do I gzip requests?
378378

0 commit comments

Comments
 (0)