|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatsInterface
An interface for tracking and accessing basic performance information. Any class that implments this needs to keep track of the following:
Parses - Turning a SQL statement from a string into something the database server can use
Executions - Executing the statement and either retrieving or changing data
Releases - Handing back the database connection to the calling class.
Errors - Error conditions such as prepared statements being unusable.
See StatsInterface
(c) Copyright 2003 - 2012 Orinda Software Ltd
| Method Summary | |
|---|---|
long |
getErrors()
Get Errors |
long |
getExecutions()
Get executions |
long |
getExecutionTime()
Get execution time |
long |
getParses()
Get Parses |
long |
getParseTime()
Get Parse time |
long |
getReleases()
Get Releases |
long |
getRetrievalTime()
Get Retrieval time |
void |
resetStatsCounters()
Reset all counters Set the counters for Parses, Executions and Releases to zero. |
| Method Detail |
|---|
void resetStatsCounters()
long getParses()
long getParseTime()
long getExecutions()
long getExecutionTime()
long getRetrievalTime()
long getReleases()
long getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||