Package mondrian.server.monitor
Class SqlStatementStartEvent
- java.lang.Object
-
- mondrian.server.monitor.Event
-
- mondrian.server.monitor.SqlStatementEvent
-
- mondrian.server.monitor.SqlStatementStartEvent
-
- All Implemented Interfaces:
Message
public class SqlStatementStartEvent extends SqlStatementEvent
Event created just before Mondrian starts to execute 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 int
cellRequestCount
-
Fields inherited from class mondrian.server.monitor.SqlStatementEvent
locus, purpose, sql, sqlStatementId
-
-
Constructor Summary
Constructors Constructor Description SqlStatementStartEvent(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, int cellRequestCount)
Creates a SqlStatementStartEvent.
-
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
-
SqlStatementStartEvent
public SqlStatementStartEvent(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, int cellRequestCount)
Creates a SqlStatementStartEvent.- Parameters:
timestamp
- TimestampsqlStatementId
- SQL Statement idlocus
- Locus of eventsql
- SQLpurpose
- Why Mondrian is executing this statementcellRequestCount
- Number of missed cells that led to this request
-
-