Package mondrian.server.monitor
Class SqlStatementExecuteEvent
java.lang.Object
mondrian.server.monitor.Event
mondrian.server.monitor.SqlStatementEvent
mondrian.server.monitor.SqlStatementExecuteEvent
- All Implemented Interfaces:
Message
Event created just after Mondrian has executed a SQL statement.
-
Nested Class Summary
Nested classes/interfaces inherited from class mondrian.server.monitor.SqlStatementEvent
SqlStatementEvent.Purpose
-
Field Summary
Fields inherited from class mondrian.server.monitor.SqlStatementEvent
locus, purpose, sql, sqlStatementId
-
Constructor Summary
ConstructorDescriptionSqlStatementExecuteEvent
(long timestamp, long statementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long executeNanos) Creates a SqlStatementExecuteEvent. -
Method Summary
Methods inherited from class mondrian.server.monitor.SqlStatementEvent
getStatementId
Methods inherited from class mondrian.server.monitor.Event
setContextMap
-
Field Details
-
executeNanos
public final long executeNanos
-
-
Constructor Details
-
SqlStatementExecuteEvent
public SqlStatementExecuteEvent(long timestamp, long statementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long executeNanos) Creates a SqlStatementExecuteEvent.- Parameters:
timestamp
- TimestampstatementId
- Statement idlocus
- Locus of eventsql
- SQLpurpose
- Why Mondrian is executing this statementexecuteNanos
- Execution time
-
-
Method Details