Package com.alibaba.druid.pool
Class DruidDataSourceStatValue
- java.lang.Object
-
- com.alibaba.druid.pool.DruidDataSourceStatValue
-
public class DruidDataSourceStatValue extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intactiveCountprotected intactivePeakprotected longactivePeakTimeprotected longblobOpenCountprotected longclobOpenCountprotected longcloseCountprotected longcommitCountprotected longconnectCountprotected long[]connectionHoldTimeHistogramprotected StringdbTypeprotected booleandefaultAutoCommitprotected booleandefaultReadOnlyprotected IntegerdefaultTransactionIsolationprotected StringdriverClassNameprotected longerrorCountprotected StringexceptionSorterClassNameprotected longexecuteCountprotected List<String>filterClassNamesprotected intinitialSizeprotected longkeepAliveCheckCountprotected longlogicConnectErrorCountprotected intloginTimeoutprotected intmaxActiveprotected intminIdleprotected Stringnameprotected longnotEmptyWaitCountprotected longnotEmptyWaitNanosprotected longphysicalCloseCountprotected longphysicalConnectCountprotected longphysicalConnectErrorCountprotected intpoolingCountprotected intpoolingPeakprotected longpoolingPeakTimeprotected longpstmtCacheHitCountprotected longpstmtCacheMissCountprotected intqueryTimeoutprotected booleanremoveAbandonedprotected longrollbackCountprotected List<JdbcSqlStatValue>sqlListprotected longsqlSkipCountprotected longstartTransactionCountprotected booleantestOnBorrowprotected booleantestOnReturnprotected booleantestWhileIdleprotected inttransactionQueryTimeoutprotected longtxn_0_1protected longtxn_1_10protected longtxn_10_100protected longtxn_100_1000protected longtxn_1000_10000protected longtxn_10000_100000protected longtxn_moreprotected Stringurlprotected StringuserNameprotected StringvalidConnectionCheckerClassNameprotected longwaitThreadCount
-
Constructor Summary
Constructors Constructor Description DruidDataSourceStatValue()
-
Method Summary
-
-
-
Field Detail
-
name
protected String name
-
dbType
protected String dbType
-
driverClassName
protected String driverClassName
-
url
protected String url
-
userName
protected String userName
-
removeAbandoned
protected boolean removeAbandoned
-
initialSize
protected int initialSize
-
minIdle
protected int minIdle
-
maxActive
protected int maxActive
-
queryTimeout
protected int queryTimeout
-
transactionQueryTimeout
protected int transactionQueryTimeout
-
loginTimeout
protected int loginTimeout
-
validConnectionCheckerClassName
protected String validConnectionCheckerClassName
-
exceptionSorterClassName
protected String exceptionSorterClassName
-
testOnBorrow
protected boolean testOnBorrow
-
testOnReturn
protected boolean testOnReturn
-
testWhileIdle
protected boolean testWhileIdle
-
defaultAutoCommit
protected boolean defaultAutoCommit
-
defaultReadOnly
protected boolean defaultReadOnly
-
defaultTransactionIsolation
protected Integer defaultTransactionIsolation
-
activeCount
protected int activeCount
-
activePeak
protected int activePeak
-
activePeakTime
protected long activePeakTime
-
poolingCount
protected int poolingCount
-
poolingPeak
protected int poolingPeak
-
poolingPeakTime
protected long poolingPeakTime
-
connectCount
protected long connectCount
-
closeCount
protected long closeCount
-
waitThreadCount
protected long waitThreadCount
-
notEmptyWaitCount
protected long notEmptyWaitCount
-
notEmptyWaitNanos
protected long notEmptyWaitNanos
-
logicConnectErrorCount
protected long logicConnectErrorCount
-
physicalConnectCount
protected long physicalConnectCount
-
physicalCloseCount
protected long physicalCloseCount
-
physicalConnectErrorCount
protected long physicalConnectErrorCount
-
executeCount
protected long executeCount
-
errorCount
protected long errorCount
-
commitCount
protected long commitCount
-
rollbackCount
protected long rollbackCount
-
pstmtCacheHitCount
protected long pstmtCacheHitCount
-
pstmtCacheMissCount
protected long pstmtCacheMissCount
-
startTransactionCount
protected long startTransactionCount
-
keepAliveCheckCount
protected long keepAliveCheckCount
-
connectionHoldTimeHistogram
protected long[] connectionHoldTimeHistogram
-
txn_0_1
protected long txn_0_1
-
txn_1_10
protected long txn_1_10
-
txn_10_100
protected long txn_10_100
-
txn_100_1000
protected long txn_100_1000
-
txn_1000_10000
protected long txn_1000_10000
-
txn_10000_100000
protected long txn_10000_100000
-
txn_more
protected long txn_more
-
clobOpenCount
protected long clobOpenCount
-
blobOpenCount
protected long blobOpenCount
-
sqlSkipCount
protected long sqlSkipCount
-
sqlList
protected List<JdbcSqlStatValue> sqlList
-
-
Method Detail
-
getPoolingPeakTime
public Date getPoolingPeakTime()
-
getSqlSkipCount
public long getSqlSkipCount()
-
setSqlSkipCount
public void setSqlSkipCount(long sqlSkipCount)
-
getActivePeakTime
public Date getActivePeakTime()
-
getNotEmptyWaitMillis
public long getNotEmptyWaitMillis()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDbType
public String getDbType()
-
setDbType
public void setDbType(String dbType)
-
getDriverClassName
public String getDriverClassName()
-
setDriverClassName
public void setDriverClassName(String driverClassName)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String userName)
-
isRemoveAbandoned
public boolean isRemoveAbandoned()
-
setRemoveAbandoned
public void setRemoveAbandoned(boolean removeAbandoned)
-
getInitialSize
public int getInitialSize()
-
setInitialSize
public void setInitialSize(int initialSize)
-
getMinIdle
public int getMinIdle()
-
setMinIdle
public void setMinIdle(int minIdle)
-
getMaxActive
public int getMaxActive()
-
setMaxActive
public void setMaxActive(int maxActive)
-
getQueryTimeout
public int getQueryTimeout()
-
setQueryTimeout
public void setQueryTimeout(int queryTimeout)
-
getTransactionQueryTimeout
public int getTransactionQueryTimeout()
-
setTransactionQueryTimeout
public void setTransactionQueryTimeout(int transactionQueryTimeout)
-
getLoginTimeout
public int getLoginTimeout()
-
setLoginTimeout
public void setLoginTimeout(int loginTimeout)
-
getValidConnectionCheckerClassName
public String getValidConnectionCheckerClassName()
-
setValidConnectionCheckerClassName
public void setValidConnectionCheckerClassName(String validConnectionCheckerClassName)
-
getExceptionSorterClassName
public String getExceptionSorterClassName()
-
setExceptionSorterClassName
public void setExceptionSorterClassName(String exceptionSorterClassName)
-
isTestOnBorrow
public boolean isTestOnBorrow()
-
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow)
-
isTestOnReturn
public boolean isTestOnReturn()
-
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn)
-
isTestWhileIdle
public boolean isTestWhileIdle()
-
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle)
-
isDefaultAutoCommit
public boolean isDefaultAutoCommit()
-
setDefaultAutoCommit
public void setDefaultAutoCommit(boolean defaultAutoCommit)
-
isDefaultReadOnly
public boolean isDefaultReadOnly()
-
setDefaultReadOnly
public void setDefaultReadOnly(boolean defaultReadOnly)
-
getDefaultTransactionIsolation
public Integer getDefaultTransactionIsolation()
-
setDefaultTransactionIsolation
public void setDefaultTransactionIsolation(Integer defaultTransactionIsolation)
-
getActiveCount
public int getActiveCount()
-
setActiveCount
public void setActiveCount(int activeCount)
-
getActivePeak
public int getActivePeak()
-
setActivePeak
public void setActivePeak(int activePeak)
-
getPoolingCount
public int getPoolingCount()
-
setPoolingCount
public void setPoolingCount(int poolingCount)
-
getPoolingPeak
public int getPoolingPeak()
-
setPoolingPeak
public void setPoolingPeak(int poolingPeak)
-
getConnectCount
public long getConnectCount()
-
setConnectCount
public void setConnectCount(long connectCount)
-
getCloseCount
public long getCloseCount()
-
setCloseCount
public void setCloseCount(long closeCount)
-
getWaitThreadCount
public long getWaitThreadCount()
-
setWaitThreadCount
public void setWaitThreadCount(long waitThreadCount)
-
getNotEmptyWaitCount
public long getNotEmptyWaitCount()
-
setNotEmptyWaitCount
public void setNotEmptyWaitCount(long notEmptyWaitCount)
-
getNotEmptyWaitNanos
public long getNotEmptyWaitNanos()
-
setNotEmptyWaitNanos
public void setNotEmptyWaitNanos(long notEmptyWaitNanos)
-
getLogicConnectErrorCount
public long getLogicConnectErrorCount()
-
setLogicConnectErrorCount
public void setLogicConnectErrorCount(long logicConnectErrorCount)
-
getPhysicalConnectCount
public long getPhysicalConnectCount()
-
setPhysicalConnectCount
public void setPhysicalConnectCount(long physicalConnectCount)
-
getPhysicalCloseCount
public long getPhysicalCloseCount()
-
setPhysicalCloseCount
public void setPhysicalCloseCount(long physicalCloseCount)
-
getPhysicalConnectErrorCount
public long getPhysicalConnectErrorCount()
-
setPhysicalConnectErrorCount
public void setPhysicalConnectErrorCount(long physicalConnectErrorCount)
-
getExecuteCount
public long getExecuteCount()
-
setExecuteCount
public void setExecuteCount(long executeCount)
-
getErrorCount
public long getErrorCount()
-
setErrorCount
public void setErrorCount(long errorCount)
-
getCommitCount
public long getCommitCount()
-
setCommitCount
public void setCommitCount(long commitCount)
-
getRollbackCount
public long getRollbackCount()
-
setRollbackCount
public void setRollbackCount(long rollbackCount)
-
getPstmtCacheHitCount
public long getPstmtCacheHitCount()
-
setPstmtCacheHitCount
public void setPstmtCacheHitCount(long pstmtCacheHitCount)
-
getPstmtCacheMissCount
public long getPstmtCacheMissCount()
-
setPstmtCacheMissCount
public void setPstmtCacheMissCount(long pstmtCacheMissCount)
-
getStartTransactionCount
public long getStartTransactionCount()
-
setStartTransactionCount
public void setStartTransactionCount(long startTransactionCount)
-
getTransactionHistogram
public long[] getTransactionHistogram()
-
setTransactionHistogram
public void setTransactionHistogram(long[] values)
-
getConnectionHoldTimeHistogram
public long[] getConnectionHoldTimeHistogram()
-
setConnectionHoldTimeHistogram
public void setConnectionHoldTimeHistogram(long[] connectionHoldTimeHistogram)
-
getClobOpenCount
public long getClobOpenCount()
-
setClobOpenCount
public void setClobOpenCount(long clobOpenCount)
-
getBlobOpenCount
public long getBlobOpenCount()
-
setBlobOpenCount
public void setBlobOpenCount(long blobOpenCount)
-
getSqlList
public List<JdbcSqlStatValue> getSqlList()
-
setSqlList
public void setSqlList(List<JdbcSqlStatValue> sqlList)
-
setActivePeakTime
public void setActivePeakTime(long activePeakTime)
-
setPoolingPeakTime
public void setPoolingPeakTime(long poolingPeakTime)
-
getKeepAliveCheckCount
public long getKeepAliveCheckCount()
-
setKeepAliveCheckCount
public void setKeepAliveCheckCount(long keepAliveCheckCount)
-
-