Package mondrian.server.monitor
Class StatementInfo
java.lang.Object
mondrian.server.monitor.StatementInfo
Information about a statement executed by Mondrian.
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
final long
final long
final long
final int
final int
final int
final int
final int
final int
final long
final long
final int
final String
A printout of the stack trace which represents the code stack when the event was created.final long
-
Constructor Summary
ConstructorDescriptionStatementInfo
(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
Modifier and TypeMethodDescriptionlong
long
long
long
int
int
int
boolean
int
int
int
long
long
int
long
toString()
-
Field Details
-
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
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 Details
-
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 Details
-
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() -
toString
-