public class PreparedStatementPool extends Object
限定符和类型 | 类和说明 |
---|---|
class |
PreparedStatementPool.LRUCache |
static class |
PreparedStatementPool.MethodType |
构造器和说明 |
---|
PreparedStatementPool(ConnectionHolder holder) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
closeRemovedStatement(PreparedStatementHolder holder) |
PreparedStatementHolder |
get(DruidPooledPreparedStatement.PreparedStatementKey key) |
Map<DruidPooledPreparedStatement.PreparedStatementKey,PreparedStatementHolder> |
getMap() |
void |
put(PreparedStatementHolder holder) |
int |
size() |
public PreparedStatementPool(ConnectionHolder holder)
public PreparedStatementHolder get(DruidPooledPreparedStatement.PreparedStatementKey key) throws SQLException
SQLException
public void put(PreparedStatementHolder holder) throws SQLException
SQLException
public void clear() throws SQLException
SQLException
public void closeRemovedStatement(PreparedStatementHolder holder) throws SQLException
SQLException
public Map<DruidPooledPreparedStatement.PreparedStatementKey,PreparedStatementHolder> getMap()
public int size()
Copyright © 2012 Alibaba Group. All Rights Reserved.