public class JdbcDataSourceStat extends Object implements JdbcDataSourceStatMBean
构造器和说明 |
---|
JdbcDataSourceStat(String name,
String url) |
JdbcDataSourceStat(String name,
String url,
String dbType) |
JdbcDataSourceStat(String name,
String url,
String dbType,
Properties connectProperties) |
限定符和类型 | 方法和说明 |
---|---|
JdbcSqlStat |
createSqlStat(String sql) |
long |
getConnectionActiveCount() |
long |
getConnectionConnectAliveMillis() |
long |
getConnectionConnectAliveMillisMax() |
long |
getConnectionConnectAliveMillisMin() |
long[] |
getConnectionHistogramRanges() |
long[] |
getConnectionHistogramValues() |
Histogram |
getConnectionHoldHistogram() |
TabularData |
getConnectionList() |
ConcurrentMap<Long,JdbcConnectionStat.Entry> |
getConnections() |
JdbcConnectionStat |
getConnectionStat() |
String |
getConnectionUrl() |
String |
getName() |
JdbcResultSetStat |
getResultSetStat() |
TabularData |
getSqlList() |
JdbcSqlStat |
getSqlStat(long id) |
JdbcSqlStat |
getSqlStat(String sql) |
Map<String,JdbcSqlStat> |
getSqlStatMap() |
JdbcStatementStat |
getStatementStat() |
static StatFilter |
getStatFilter(DataSourceProxy dataSource) |
String |
getUrl() |
void |
reset() |
public JdbcDataSourceStat(String name, String url, String dbType, Properties connectProperties)
public void reset()
reset
在接口中 JdbcDataSourceStatMBean
public Histogram getConnectionHoldHistogram()
public JdbcConnectionStat getConnectionStat()
public JdbcResultSetStat getResultSetStat()
public JdbcStatementStat getStatementStat()
public String getConnectionUrl()
getConnectionUrl
在接口中 JdbcDataSourceStatMBean
public TabularData getSqlList() throws JMException
getSqlList
在接口中 JdbcDataSourceStatMBean
JMException
public static StatFilter getStatFilter(DataSourceProxy dataSource)
public JdbcSqlStat getSqlStat(long id)
public final ConcurrentMap<Long,JdbcConnectionStat.Entry> getConnections()
public TabularData getConnectionList() throws JMException
getConnectionList
在接口中 JdbcDataSourceStatMBean
JMException
public String getName()
public String getUrl()
public Map<String,JdbcSqlStat> getSqlStatMap()
public JdbcSqlStat getSqlStat(String sql)
public JdbcSqlStat createSqlStat(String sql)
public long getConnectionActiveCount()
public long getConnectionConnectAliveMillis()
public long getConnectionConnectAliveMillisMax()
public long getConnectionConnectAliveMillisMin()
public long[] getConnectionHistogramRanges()
public long[] getConnectionHistogramValues()
Copyright © 2012 Alibaba Group. All Rights Reserved.