public class ConnectionImpl extends Object implements Connection
Connection.Holder| Constructor and Description |
|---|
ConnectionImpl(JDBCStatementHelper helper,
ContextInternal context,
SQLOptions sqlOptions,
JDBCConnectionImpl conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection.Holder holder,
Promise<Void> promise) |
DatabaseMetadata |
getDatabaseMetaData() |
int |
getProcessId() |
int |
getSecretKey() |
void |
init(Connection.Holder holder) |
boolean |
isSsl() |
<R> void |
schedule(CommandBase<R> commandBase,
Promise<R> promise) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIndeterminatePreparedStatementErrorpublic ConnectionImpl(JDBCStatementHelper helper, ContextInternal context, SQLOptions sqlOptions, JDBCConnectionImpl conn)
public boolean isSsl()
isSsl in interface Connectionpublic DatabaseMetadata getDatabaseMetaData()
getDatabaseMetaData in interface Connectionpublic void init(Connection.Holder holder)
init in interface Connectionpublic void close(Connection.Holder holder, Promise<Void> promise)
close in interface Connectionpublic int getProcessId()
getProcessId in interface Connectionpublic int getSecretKey()
getSecretKey in interface Connectionpublic <R> void schedule(CommandBase<R> commandBase, Promise<R> promise)
schedule in interface CommandSchedulerCopyright © 2021. All rights reserved.