mondrian.server.monitor
Class SqlStatementEndEvent

java.lang.Object
  extended by mondrian.server.monitor.Event
      extended by mondrian.server.monitor.SqlStatementEvent
          extended by mondrian.server.monitor.SqlStatementEndEvent
All Implemented Interfaces:
Message

public class SqlStatementEndEvent
extends SqlStatementEvent

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
 boolean canceled
           
 long rowFetchCount
           
 Throwable throwable
           
 
Fields inherited from class mondrian.server.monitor.SqlStatementEvent
locus, purpose, sql, sqlStatementId
 
Fields inherited from class mondrian.server.monitor.Event
timestamp
 
Constructor Summary
SqlStatementEndEvent(long timestamp, long sqlStatementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long rowFetchCount, boolean canceled, Throwable throwable)
          Creates a SqlStatementEndEvent.
 
Method Summary
<T> T
accept(Visitor<T> visitor)
          Dispatches a call to the appropriate visit method on Visitor.
 String toString()
           
 
Methods inherited from class mondrian.server.monitor.SqlStatementEvent
getStatementId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rowFetchCount

public final long rowFetchCount

canceled

public final boolean canceled

throwable

public final Throwable throwable
Constructor Detail

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 - Timestamp
sqlStatementId - SQL statement id
locus - Locus of event
sql - SQL
purpose - Why Mondrian is executing this statement
rowFetchCount - Number of rows fetched
canceled - Whether statement was canceled
throwable - Throwable, or null if there was no error
Method Detail

toString

public String toString()
Overrides:
toString in class Object

accept

public <T> T accept(Visitor<T> visitor)
Description copied from interface: Message
Dispatches a call to the appropriate visit method on Visitor.

Type Parameters:
T - Return type
Parameters:
visitor - Visitor
Returns:
Value returned by the visit method

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads