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