public final class PreparedStatementHolder extends Object
构造器和说明 |
---|
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) |
public PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key, PreparedStatement stmt)
public boolean isEnterOracleImplicitCache()
public void setEnterOracleImplicitCache(boolean enterOracleImplicitCache)
public int getDefaultRowPretch()
public void setDefaultRowPretch(int defaultRowPretch)
public int getRowPrefetch()
public void setRowPrefetch(int rowPrefetch)
public int getFetchRowPeak()
public void setFetchRowPeak(int fetchRowPeak)
public PreparedStatement getStatement()
public DruidPooledPreparedStatement.PreparedStatementKey getKey()
public void incrementHitCount()
public int getHitCount()
public boolean isInUse()
public void incrementInUseCount()
public void decrementInUseCount()
public int getInUseCount()
public boolean isPooling()
public void setPooling(boolean pooling)
Copyright © 2012 Alibaba Group. All Rights Reserved.