public class DB2ConnectionImpl extends SqlConnectionImpl<DB2ConnectionImpl> implements DB2Connection
conn, contextmetrics, tracer| Constructor and Description |
|---|
DB2ConnectionImpl(DB2ConnectionFactory factory,
ContextInternal context,
Connection conn,
QueryTracer tracer,
ClientMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
static Future<DB2Connection> |
connect(Vertx vertx,
DB2ConnectOptions options)
Like
DB2Connection.connect(Vertx, DB2ConnectOptions, Handler) but returns a
Future of the asynchronous result |
Future<Void> |
debug()
Like
DB2Connection.debug(Handler) but returns a Future of the asynchronous
result |
DB2Connection |
debug(Handler<AsyncResult<Void>> handler)
Send a DEBUG command to dump debug information to the server's stdout.
|
Future<Void> |
ping()
Like
DB2Connection.ping(Handler) but returns a Future of the asynchronous
result |
DB2Connection |
ping(Handler<AsyncResult<Void>> handler)
Send a PING command to check if the server is alive.
|
begin, begin, close, close, closeHandler, databaseMetadata, exceptionHandler, handleClosed, handleEvent, handleException, isSSL, promise, promise, scheduleprepare, prepareappendQueryPlaceholder, preparedQuery, queryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcast, closeHandler, connect, connect, connect, exceptionHandler, preparebegin, begin, close, databaseMetadata, isSSL, prepareclose, preparedQuery, querypublic DB2ConnectionImpl(DB2ConnectionFactory factory, ContextInternal context, Connection conn, QueryTracer tracer, ClientMetrics metrics)
public static Future<DB2Connection> connect(Vertx vertx, DB2ConnectOptions options)
DB2ConnectionDB2Connection.connect(Vertx, DB2ConnectOptions, Handler) but returns a
Future of the asynchronous resultconnect in interface DB2Connectionpublic DB2Connection ping(Handler<AsyncResult<Void>> handler)
DB2Connectionping in interface DB2Connectionhandler - the handler notified when the server responses to clientpublic Future<Void> ping()
DB2ConnectionDB2Connection.ping(Handler) but returns a Future of the asynchronous
resultping in interface DB2Connectionpublic DB2Connection debug(Handler<AsyncResult<Void>> handler)
DB2Connectiondebug in interface DB2Connectionhandler - the handler notified with the execution resultpublic Future<Void> debug()
DB2ConnectionDB2Connection.debug(Handler) but returns a Future of the asynchronous
resultdebug in interface DB2ConnectionCopyright © 2021. All rights reserved.