public class AsyncSQLClient extends Object
original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
AsyncSQLClient(AsyncSQLClient delegate) |
| 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.
|
Observable<Void> |
closeObservable()
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.
|
Observable<SQLConnection> |
getConnectionObservable()
Returns a connection that can be used to perform SQL operations on.
|
Object |
getDelegate() |
static AsyncSQLClient |
newInstance(AsyncSQLClient arg) |
public AsyncSQLClient(AsyncSQLClient delegate)
public Object getDelegate()
public void close()
public void close(Handler<AsyncResult<Void>> whenDone)
whenDone - handler that will be called when close is completepublic Observable<Void> closeObservable()
public void getConnection(Handler<AsyncResult<SQLConnection>> handler)
handler - the handler which is called when the JdbcConnection object is ready for use.public Observable<SQLConnection> getConnectionObservable()
public static AsyncSQLClient newInstance(AsyncSQLClient arg)
Copyright © 2016. All rights reserved.