public class DB2SocketConnection extends SocketConnectionBase
SocketConnectionBase.StatusConnection.Holder| Modifier and Type | Field and Description |
|---|---|
ConnectionMetaData |
connMetadata |
logger, psCache, socket, status| Constructor and Description |
|---|
DB2SocketConnection(NetSocketInternal socket,
boolean cachePreparedStatements,
int preparedStatementCacheSize,
Predicate<String> preparedStatementCacheSqlFilter,
int pipeliningLimit,
EventLoopContext context) |
| Modifier and Type | Method and Description |
|---|---|
DB2SocketConnection |
closeHandler(Handler<Void> handler) |
protected <R> void |
doSchedule(CommandBase<R> cmd,
Handler<AsyncResult<R>> handler) |
DatabaseMetadata |
getDatabaseMetaData() |
void |
handleClose(Throwable t) |
void |
init() |
close, context, getProcessId, getSecretKey, handleEvent, handleMessage, init, isSsl, schedule, socketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIndeterminatePreparedStatementErrorpublic final ConnectionMetaData connMetadata
public DB2SocketConnection(NetSocketInternal socket, boolean cachePreparedStatements, int preparedStatementCacheSize, Predicate<String> preparedStatementCacheSqlFilter, int pipeliningLimit, EventLoopContext context)
public void init()
init in class SocketConnectionBaseprotected <R> void doSchedule(CommandBase<R> cmd, Handler<AsyncResult<R>> handler)
doSchedule in class SocketConnectionBasepublic void handleClose(Throwable t)
handleClose in class SocketConnectionBasepublic DatabaseMetadata getDatabaseMetaData()
public DB2SocketConnection closeHandler(Handler<Void> handler)
Copyright © 2021. All rights reserved.