public final class PreparedStatementHolder extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
DruidPooledPreparedStatement.PreparedStatementKey |
key |
PreparedStatement |
statement |
| 构造器和说明 |
|---|
PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key,
PreparedStatement stmt) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decrementInUseCount() |
int |
getDefaultRowPrefetch() |
int |
getFetchRowPeak() |
int |
getHitCount() |
int |
getInUseCount() |
int |
getRowPrefetch() |
void |
incrementHitCount() |
void |
incrementInUseCount() |
boolean |
isEnterOracleImplicitCache() |
boolean |
isInUse() |
boolean |
isPooling() |
void |
setDefaultRowPrefetch(int defaultRowPrefetch) |
void |
setEnterOracleImplicitCache(boolean enterOracleImplicitCache) |
void |
setFetchRowPeak(int fetchRowPeak) |
void |
setPooling(boolean pooling) |
void |
setRowPrefetch(int rowPrefetch) |
public final DruidPooledPreparedStatement.PreparedStatementKey key
public final PreparedStatement statement
public PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key, PreparedStatement stmt)
public boolean isEnterOracleImplicitCache()
public void setEnterOracleImplicitCache(boolean enterOracleImplicitCache)
public int getDefaultRowPrefetch()
public void setDefaultRowPrefetch(int defaultRowPrefetch)
public int getRowPrefetch()
public void setRowPrefetch(int rowPrefetch)
public int getFetchRowPeak()
public void setFetchRowPeak(int fetchRowPeak)
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 © 2013–2016 Alibaba Group. All rights reserved.