com.alibaba.druid.pool
Class PreparedStatementHolder

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

public final class PreparedStatementHolder
extends Object

Author:
wenshao

Constructor Summary
PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key, PreparedStatement stmt)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedStatementHolder

public PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key,
                               PreparedStatement stmt)
Method Detail

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 © 2012 Alibaba Group. All Rights Reserved.