com.alibaba.druid.pool
Class PreparedStatementPool

java.lang.Object
  extended by com.alibaba.druid.pool.PreparedStatementPool

public class PreparedStatementPool
extends Object

Author:
wenshao

Nested Class Summary
 class PreparedStatementPool.LRUCache
           
static class PreparedStatementPool.MethodType
           
 
Constructor Summary
PreparedStatementPool(DruidConnectionHolder holder)
           
 
Method Summary
 void clear()
           
 void closeRemovedStatement(PreparedStatementHolder holder)
           
 PreparedStatementHolder get(DruidPooledPreparedStatement.PreparedStatementKey key)
           
 Map<DruidPooledPreparedStatement.PreparedStatementKey,PreparedStatementHolder> getMap()
           
 void put(PreparedStatementHolder stmtHolder)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedStatementPool

public PreparedStatementPool(DruidConnectionHolder holder)
Method Detail

get

public PreparedStatementHolder get(DruidPooledPreparedStatement.PreparedStatementKey key)
                            throws SQLException
Throws:
SQLException

put

public void put(PreparedStatementHolder stmtHolder)
         throws SQLException
Throws:
SQLException

clear

public void clear()
           throws SQLException
Throws:
SQLException

closeRemovedStatement

public void closeRemovedStatement(PreparedStatementHolder holder)
                           throws SQLException
Throws:
SQLException

getMap

public Map<DruidPooledPreparedStatement.PreparedStatementKey,PreparedStatementHolder> getMap()

size

public int size()


Copyright © 2012 Alibaba Group. All Rights Reserved.