Skip to content

Commit f534a1a

Browse files
authored
Add example for blocking flush to analytics-java doc
1 parent 91b5d05 commit f534a1a

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 will notify the client to upload any events in the queue. If you would like a blocking flush, an [example is available](https://github.com/segmentio/analytics-java/blob/master/analytics-sample/src/main/java/sample/BlockingFlush.java).
376376

377377
## How do I gzip requests?
378378

0 commit comments

Comments
 (0)