com.alibaba.druid.pool
类 PreparedStatementHolder

java.lang.Object
  继承者 com.alibaba.druid.pool.PreparedStatementHolder

public final class PreparedStatementHolder
extends Object

作者:
wenshao

构造方法摘要
PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key, PreparedStatement stmt)
           
 
方法摘要
 void decrementInUseCount()
           
 int getDefaultRowPretch()
           
 int getFetchRowPeak()
           
 int getHitCount()
           
 int getInUseCount()
           
 DruidPooledPreparedStatement.PreparedStatementKey getKey()
           
 int getRowPrefetch()
           
 PreparedStatement getStatement()
           
 void incrementHitCount()
           
 void incrementInUseCount()
           
 boolean isEnterOracleImplicitCache()
           
 boolean isInUse()
           
 boolean isPooling()
           
 void setDefaultRowPretch(int defaultRowPretch)
           
 void setEnterOracleImplicitCache(boolean enterOracleImplicitCache)
           
 void setFetchRowPeak(int fetchRowPeak)
           
 void setPooling(boolean pooling)
           
 void setRowPrefetch(int rowPrefetch)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PreparedStatementHolder

public PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key,
                               PreparedStatement stmt)
方法详细信息

isEnterOracleImplicitCache

public boolean isEnterOracleImplicitCache()

setEnterOracleImplicitCache

public void setEnterOracleImplicitCache(boolean enterOracleImplicitCache)

getDefaultRowPretch

public int getDefaultRowPretch()

setDefaultRowPretch

public void setDefaultRowPretch(int defaultRowPretch)

getRowPrefetch

public int getRowPrefetch()

setRowPrefetch

public void setRowPrefetch(int rowPrefetch)

getFetchRowPeak

public int getFetchRowPeak()

setFetchRowPeak

public void setFetchRowPeak(int fetchRowPeak)

getStatement

public PreparedStatement getStatement()

getKey

public DruidPooledPreparedStatement.PreparedStatementKey getKey()

incrementHitCount

public void incrementHitCount()

getHitCount

public int getHitCount()

isInUse

public boolean isInUse()

incrementInUseCount

public void incrementInUseCount()

decrementInUseCount

public void decrementInUseCount()

getInUseCount

public int getInUseCount()

isPooling

public boolean isPooling()

setPooling

public void setPooling(boolean pooling)


Copyright © 2013 Alibaba Group. All Rights Reserved.