Skip to content
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

Asynchronous commit #593

Closed
bartoszwalacik opened this issue Oct 18, 2017 · 2 comments
Closed

Asynchronous commit #593

bartoszwalacik opened this issue Oct 18, 2017 · 2 comments
Labels
Core Team This issue will be implemented by JaVers core team fixed

Comments

@bartoszwalacik
Copy link
Member

see https://stackoverflow.com/questions/46700959/async-auditing-with-javers

This was referenced Sep 15, 2018
@bartoszwalacik bartoszwalacik added enhancement Core Team This issue will be implemented by JaVers core team and removed enhancement labels Sep 15, 2018
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
"javers.commitAsync() is not available for SQL"
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
commit async, second method
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
bartoszwalacik added a commit that referenced this issue Oct 19, 2018
@bartoszwalacik
Copy link
Member Author

released in 3.12.0

@bartoszwalacik
Copy link
Member Author

    /**
     * Async version of {@link #commit(String, Object)}
     * <br/><br/>
     *
     * <b>Important!</b> Works with MongoDB, not implemented for SQL repositories.
     *
     * @param executor ExecutorService to be used to process commit() asynchronously
     */
    CompletableFuture<Commit> commitAsync(String author, Object currentVersion, Executor executor);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team This issue will be implemented by JaVers core team fixed
Projects
None yet
Development

No branches or pull requests

1 participant