public class DB2ConnectionImpl extends SqlConnectionImpl<DB2ConnectionImpl> implements DB2Connection
conn, context| Constructor and Description |
|---|
DB2ConnectionImpl(DB2ConnectionFactory factory,
Context context,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
static void |
connect(Vertx vertx,
DB2ConnectOptions options,
Handler<AsyncResult<DB2Connection>> handler)
Create a connection to DB2 server with the given
connectOptions. |
DB2Connection |
debug(Handler<AsyncResult<Void>> handler)
Send a DEBUG command to dump debug information to the server's stdout.
|
void |
handleNotification(int processId,
String channel,
String payload) |
DB2Connection |
ping(Handler<AsyncResult<Void>> handler)
Send a PING command to check if the server is alive.
|
begin, begin, close, closeHandler, exceptionHandler, handleClosed, handleException, isSSL, schedule, schedulepreparepreparedQuery, queryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseHandler, connect, exceptionHandler, preparebegin, close, isSSLpreparedQuery, querypublic DB2ConnectionImpl(DB2ConnectionFactory factory, Context context, Connection conn)
public static void connect(Vertx vertx, DB2ConnectOptions options, Handler<AsyncResult<DB2Connection>> handler)
DB2ConnectionconnectOptions.connect in interface DB2Connectionvertx - the vertx instanceoptions - the options for the connectionhandler - the handler called with the connection or the failurepublic void handleNotification(int processId,
String channel,
String payload)
handleNotification in interface Connection.HolderhandleNotification in class SqlConnectionImpl<DB2ConnectionImpl>public DB2Connection ping(Handler<AsyncResult<Void>> handler)
DB2Connectionping in interface DB2Connectionhandler - the handler notified when the server responses to clientpublic DB2Connection debug(Handler<AsyncResult<Void>> handler)
DB2Connectiondebug in interface DB2Connectionhandler - the handler notified with the execution resultCopyright © 2020. All rights reserved.