public abstract class SocketConnectionBase extends Object implements Connection
| Modifier and Type | Class and Description |
|---|---|
static class |
SocketConnectionBase.Status |
Connection.Holder| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.sqlclient.impl.PreparedStatementCache |
psCache |
protected NetSocketInternal |
socket |
protected SocketConnectionBase.Status |
status |
| Constructor and Description |
|---|
SocketConnectionBase(NetSocketInternal socket,
boolean cachePreparedStatements,
int preparedStatementCacheSize,
int preparedStatementCacheSqlLimit,
int pipeliningLimit,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection.Holder holder) |
Context |
context() |
int |
getProcessId() |
int |
getSecretKey() |
void |
init() |
void |
init(Connection.Holder holder) |
boolean |
isSsl() |
void |
schedule(CommandBase<?> cmd) |
NetSocketInternal |
socket() |
protected final io.vertx.sqlclient.impl.PreparedStatementCache psCache
protected final NetSocketInternal socket
protected SocketConnectionBase.Status status
public SocketConnectionBase(NetSocketInternal socket, boolean cachePreparedStatements, int preparedStatementCacheSize, int preparedStatementCacheSqlLimit, int pipeliningLimit, Context context)
public Context context()
public void init()
public NetSocketInternal socket()
public boolean isSsl()
isSsl in interface Connectionpublic void init(Connection.Holder holder)
init in interface Connectionpublic int getProcessId()
getProcessId in interface Connectionpublic int getSecretKey()
getSecretKey in interface Connectionpublic void close(Connection.Holder holder)
close in interface Connectionpublic void schedule(CommandBase<?> cmd)
schedule in interface ConnectionCopyright © 2020. All rights reserved.