List of usage examples for io.vertx.mysqlclient MySQLConnection resetConnection
@Fluent MySQLConnection resetConnection(Handler<AsyncResult<Void>> handler);
From source file:examples.MySQLClientExamples.java
public void resetConnectionExample(MySQLConnection connection) { connection.resetConnection(ar -> { if (ar.succeeded()) { System.out.println("Connection has been reset now"); } else {//from w ww.j ava 2 s .c om System.out.println("Failure: " + ar.cause().getMessage()); } }); }