Constructor and Description |
---|
DruidConnection(String connectionId,
int maxStatements,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
closeIfEmpty()
Closes this connection if it has no statements.
|
Map<String,Object> |
context() |
DruidStatement |
createStatement() |
DruidStatement |
getStatement(int statementId) |
DruidConnection |
sync(Future<?> newTimeoutFuture) |
public DruidStatement createStatement()
public DruidStatement getStatement(int statementId)
public boolean closeIfEmpty()
public void close()
public DruidConnection sync(Future<?> newTimeoutFuture)
Copyright © 2011–2018. All rights reserved.