Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexeySoshin/4abb723195cf653819e711af493d1dfa to your computer and use it in GitHub Desktop.
Save AlexeySoshin/4abb723195cf653819e711af493d1dfa to your computer and use it in GitHub Desktop.
public void execute(Connection conn,
TaskQueue statementsQueue,
Handler<AsyncResult<T>> resultHandler) {
ctx.executeBlocking(future -> handle(conn, future),
statementsQueue, resultHandler);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment