public final class PreparedStatementHolder extends Object
Modifier and Type | Field and Description |
---|---|
DruidPooledPreparedStatement.PreparedStatementKey |
key |
PreparedStatement |
statement |
Constructor and Description |
---|
PreparedStatementHolder(DruidPooledPreparedStatement.PreparedStatementKey key,
PreparedStatement stmt) |
Modifier and Type | Method and Description |
---|---|
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–2021 Alibaba Group. All rights reserved.