public interface SQLClient
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the client
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Close the client and release all resources.
|
SQLClient |
getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<SQLConnection>> handler)
Returns a connection that can be used to perform SQL operations on.
|
SQLClient getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<SQLConnection>> handler)
handler
- the handler which is called when the JdbcConnection
object is ready for use.void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
completionHandler
- the handler that will be called when close is completevoid close()
Copyright © 2018. All rights reserved.