Package mondrian.server.monitor
Class SqlStatementEndEvent
java.lang.Object
mondrian.server.monitor.Event
mondrian.server.monitor.SqlStatementEvent
mondrian.server.monitor.SqlStatementEndEvent
- All Implemented Interfaces:
Message
Event created when Mondrian finishes executing an 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
ConstructorDescriptionSqlStatementEndEvent
(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long rowFetchCount, boolean canceled, Throwable throwable) Creates a SqlStatementEndEvent. -
Method Summary
Methods inherited from class mondrian.server.monitor.SqlStatementEvent
getStatementId
Methods inherited from class mondrian.server.monitor.Event
setContextMap
-
Field Details
-
rowFetchCount
public final long rowFetchCount -
canceled
public final boolean canceled -
throwable
-
-
Constructor Details
-
SqlStatementEndEvent
public SqlStatementEndEvent(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long rowFetchCount, boolean canceled, Throwable throwable) Creates a SqlStatementEndEvent.- Parameters:
timestamp
- TimestampsqlStatementId
- SQL statement idlocus
- Locus of eventsql
- SQLpurpose
- Why Mondrian is executing this statementrowFetchCount
- Number of rows fetchedcanceled
- Whether statement was canceledthrowable
- Throwable, or null if there was no error
-
-
Method Details