Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The javadoc of Sentry.flush says it's not implemented, despite it being implemented #4304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
craftamap opened this issue Mar 31, 2025 · 2 comments Β· Fixed by #4305
Closed

The javadoc of Sentry.flush says it's not implemented, despite it being implemented #4304

craftamap opened this issue Mar 31, 2025 · 2 comments Β· Fixed by #4305

Comments

@craftamap
Copy link

Integration

sentry

Java Version

21

Version

8.5.0

Steps to Reproduce

  1. Go to
    * Flushes events queued up to the current Scopes. Not implemented yet.

Expected Result

No no-op comment.

This tripped me up when using the method, as I was confused if this even does something. Looking into the implementation with a debugger revealed that it does end up flushing the entities (In io.sentry.transport.QueuedThreadPoolExecutor#waitTillIdle).

I guess this is dependent on the Transport implementation chosen.

Actual Result

N/A

@philprime
Copy link

Hi @craftamap, thanks for bringing this up.

@romtsn @markushi can you give some insights here if this method is always not implemented or depending on configuration?

@adinauer
Copy link
Member

Thanks for opening this issue. Will send a PR to remove the part of the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants