public class StatisticsCollectorBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_currentOpenConnections |
protected long |
m_executeDuration |
protected int |
m_maxConcurrentConnections |
protected int |
m_nConnectionAllocations
The #of times a connection was allocated during this request.
|
protected int |
m_nErrors |
protected int |
m_nExecutes |
protected int |
m_nPreparedQueries
#of queries issued using prepared statements.
|
protected int |
m_nPreparedUpdates
#of updates issued using prepared statements.
|
protected int |
m_nPrepares
The #of times a statement was PREPARED (preparedStatement)
|
protected int |
m_nRows
Number of rows retrieved,
|
protected int |
m_nStatementQueries
The #of statements passed
|
protected int |
m_nStatementUpdates
#of unprepared updates (using a statement).
|
protected long |
m_nUpdatedRows |
protected long |
m_preparedQueryDuration |
protected long |
m_preparedUpdateDuration |
protected long |
m_prepareDuration
The total time spent in preparing the statements above.
|
protected long |
m_statementQueryDuration |
protected long |
m_statementUpdateDuration |
protected long |
m_totalFetchDuration |
| Constructor and Description |
|---|
StatisticsCollectorBase(StatisticsCollectorBase o,
long duration)
Copy constructor.
|
StatisticsCollectorBase(String ident) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration() |
long |
getExecuteDuration() |
String |
getIdent() |
int |
getMaxConcurrentConnections() |
DbMetric |
getMetric(int id) |
List<DbMetric> |
getMetrics() |
long |
getNAnything() |
int |
getNConnectionAllocations() |
int |
getNErrors() |
int |
getNExecutes() |
int |
getNPreparedQueries() |
int |
getNPreparedUpdates() |
int |
getNPrepares() |
int |
getNRows() |
int |
getNStatementQueries() |
int |
getNStatementUpdates() |
long |
getNUpdatedRows() |
long |
getPreparedQueryDuration() |
long |
getPreparedUpdateDuration() |
long |
getPrepareDuration() |
long |
getStartTS() |
long |
getStatementQueryDuration() |
long |
getStatementUpdateDuration() |
int |
getTotalDBRequests() |
long |
getTotalDBTime() |
long |
getTotalFetchDuration() |
int |
getTotalQueries() |
int |
getTotalUpdates() |
void |
mergeMetrics(List<DbMetric> metrics) |
protected int m_nConnectionAllocations
protected int m_maxConcurrentConnections
protected int m_currentOpenConnections
protected int m_nPrepares
protected long m_prepareDuration
protected int m_nPreparedQueries
protected int m_nPreparedUpdates
protected int m_nStatementUpdates
protected long m_nUpdatedRows
protected long m_preparedQueryDuration
protected long m_preparedUpdateDuration
protected long m_statementQueryDuration
protected long m_statementUpdateDuration
protected int m_nExecutes
protected long m_executeDuration
protected int m_nErrors
protected int m_nRows
protected long m_totalFetchDuration
protected int m_nStatementQueries
public StatisticsCollectorBase(String ident)
public StatisticsCollectorBase(StatisticsCollectorBase o, long duration)
o - public int getNConnectionAllocations()
public int getMaxConcurrentConnections()
public int getNPrepares()
public long getPrepareDuration()
public int getNPreparedQueries()
public int getNPreparedUpdates()
public int getNStatementUpdates()
public long getNUpdatedRows()
public long getPreparedQueryDuration()
public long getPreparedUpdateDuration()
public long getStatementQueryDuration()
public long getStatementUpdateDuration()
public int getNExecutes()
public long getExecuteDuration()
public int getNErrors()
public int getNStatementQueries()
public int getTotalQueries()
public int getTotalUpdates()
public int getTotalDBRequests()
public long getTotalDBTime()
public int getNRows()
public long getTotalFetchDuration()
public long getStartTS()
public long getDuration()
public long getNAnything()
public String getIdent()
Copyright © 2017 etc.to. All rights reserved.