|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.jdbcstats.SqlStatisticsMap
Stores the SqlStatistics of a sql against its id
| Constructor Summary | |
SqlStatisticsMap()
|
|
| Method Summary | |
void |
aggregate(SqlStatistics[] sqlStatistics)
|
void |
aggregate(SqlStatisticsMap other,
IdMapper idMapper)
|
SqlStatisticsMap |
copy()
|
SqlStatistics[] |
getCopyOfSqlStatistics()
|
int |
getNoOfQueries()
|
void |
recordExecuteError(Long id,
long time,
boolean prepared)
Record a failed execute |
void |
recordExecuteSql(Long id,
long time,
boolean prepared)
Record a call to execute a statement |
void |
recordFetchComplete(Long id,
long noOfRowsFetched,
long timeTakenForFetch)
|
void |
recordPrepareSql(Long id,
long time)
Record a call to prepare a sql statement |
void |
reset()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SqlStatisticsMap()
| Method Detail |
public void recordPrepareSql(Long id,
long time)
id - - id of the sql querytime - - time spent in preparing
public void recordExecuteSql(Long id,
long time,
boolean prepared)
id - - id of the sql querytime - - time spent in executing the queryprepared - - was it a prepared statement or plain statement
public void recordExecuteError(Long id,
long time,
boolean prepared)
id - - id of the sql querytime - - time spent in executing the queryprepared - - was it a prepared statement or plain statement
public void recordFetchComplete(Long id,
long noOfRowsFetched,
long timeTakenForFetch)
public SqlStatistics[] getCopyOfSqlStatistics()
public void reset()
public void aggregate(SqlStatisticsMap other,
IdMapper idMapper)
public void aggregate(SqlStatistics[] sqlStatistics)
public int getNoOfQueries()
public SqlStatisticsMap copy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||