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
public class SqlStatementExecuteEvent extends SqlStatementEvent
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 Modifier and Type Field Description long
executeNanos
-
Fields inherited from class mondrian.server.monitor.SqlStatementEvent
locus, purpose, sql, sqlStatementId
-
-
Constructor Summary
Constructors Constructor Description SqlStatementExecuteEvent(long timestamp, long statementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long executeNanos)
Creates a SqlStatementExecuteEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(Visitor<T> visitor)
Dispatches a call to the appropriatevisit
method onVisitor
.String
toString()
-
Methods inherited from class mondrian.server.monitor.SqlStatementEvent
getStatementId
-
Methods inherited from class mondrian.server.monitor.Event
setContextMap
-
-
-
-
Constructor Detail
-
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
-
-