Package mondrian.server.monitor
Class StatementInfo
- java.lang.Object
-
- mondrian.server.monitor.StatementInfo
-
public class StatementInfo extends Object
Information about a statement executed by Mondrian.
-
-
Field Summary
Fields Modifier and Type Field Description long
cellCacheHitCount
long
cellCacheMissCount
long
cellCachePendingCount
long
cellCacheRequestCount
int
cellRequestCount
int
executeEndCount
int
executeStartCount
int
phaseCount
int
sqlStatementEndCount
int
sqlStatementExecuteCount
long
sqlStatementExecuteNanos
long
sqlStatementRowFetchCount
int
sqlStatementStartCount
String
stack
A printout of the stack trace which represents the code stack when the event was created.long
statementId
-
Constructor Summary
Constructors Constructor Description StatementInfo(String stack, long statementId, int executeStartCount, int executeEndCount, int phaseCount, long cellCacheRequestCount, long cellCacheHitCount, long cellCacheMissCount, long cellCachePendingCount, int sqlStatementStartCount, int sqlStatementExecuteCount, int sqlStatementEndCount, long sqlStatementRowFetchCount, long sqlStatementExecuteNanos, int cellRequestCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCellCacheHitCount()
long
getCellCacheMissCount()
long
getCellCachePendingCount()
long
getCellCacheRequestCount()
int
getCellRequestCount()
int
getExecuteEndCount()
int
getExecuteStartCount()
boolean
getExecuting()
int
getPhaseCount()
int
getSqlStatementEndCount()
int
getSqlStatementExecuteCount()
long
getSqlStatementExecuteNanos()
long
getSqlStatementRowFetchCount()
int
getSqlStatementStartCount()
long
getStatementId()
String
toString()
-
-
-
Field Detail
-
statementId
public final long statementId
-
executeStartCount
public final int executeStartCount
-
executeEndCount
public final int executeEndCount
-
phaseCount
public final int phaseCount
-
cellCacheRequestCount
public final long cellCacheRequestCount
-
cellCacheHitCount
public final long cellCacheHitCount
-
cellCacheMissCount
public final long cellCacheMissCount
-
cellCachePendingCount
public final long cellCachePendingCount
-
sqlStatementStartCount
public final int sqlStatementStartCount
-
sqlStatementExecuteCount
public final int sqlStatementExecuteCount
-
sqlStatementEndCount
public final int sqlStatementEndCount
-
sqlStatementRowFetchCount
public final long sqlStatementRowFetchCount
-
sqlStatementExecuteNanos
public final long sqlStatementExecuteNanos
-
cellRequestCount
public final int cellRequestCount
-
stack
public final String stack
A printout of the stack trace which represents the code stack when the event was created. Useful for debugging purposes and identifying orphaned connections and statements.
-
-
Constructor Detail
-
StatementInfo
public StatementInfo(String stack, long statementId, int executeStartCount, int executeEndCount, int phaseCount, long cellCacheRequestCount, long cellCacheHitCount, long cellCacheMissCount, long cellCachePendingCount, int sqlStatementStartCount, int sqlStatementExecuteCount, int sqlStatementEndCount, long sqlStatementRowFetchCount, long sqlStatementExecuteNanos, int cellRequestCount)
-
-
Method Detail
-
getExecuting
public boolean getExecuting()
- Returns:
- Whether the statement is currently executing.
-
getStatementId
public long getStatementId()
-
getExecuteStartCount
public int getExecuteStartCount()
-
getExecuteEndCount
public int getExecuteEndCount()
-
getPhaseCount
public int getPhaseCount()
-
getCellCacheRequestCount
public long getCellCacheRequestCount()
-
getCellCacheHitCount
public long getCellCacheHitCount()
-
getCellCacheMissCount
public long getCellCacheMissCount()
-
getCellCachePendingCount
public long getCellCachePendingCount()
-
getSqlStatementStartCount
public int getSqlStatementStartCount()
-
getSqlStatementExecuteCount
public int getSqlStatementExecuteCount()
-
getSqlStatementEndCount
public int getSqlStatementEndCount()
-
getSqlStatementRowFetchCount
public long getSqlStatementRowFetchCount()
-
getSqlStatementExecuteNanos
public long getSqlStatementExecuteNanos()
-
getCellRequestCount
public int getCellRequestCount()
-
-