mondrian.server.monitor
Class SqlStatementExecuteEvent

java.lang.Object
  extended by mondrian.server.monitor.Event
      extended by mondrian.server.monitor.SqlStatementEvent
          extended by 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
 long executeNanos
           
 
Fields inherited from class mondrian.server.monitor.SqlStatementEvent
locus, purpose, sql, sqlStatementId
 
Fields inherited from class mondrian.server.monitor.Event
timestamp
 
Constructor Summary
SqlStatementExecuteEvent(long timestamp, long statementId, Locus locus, String sql, SqlStatementEvent.Purpose purpose, long executeNanos)
          Creates a SqlStatementExecuteEvent.
 
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

executeNanos

public final long executeNanos
Constructor Detail

SqlStatementExecuteEvent

public SqlStatementExecuteEvent(long timestamp,
                                long statementId,
                                Locus locus,
                                String sql,
                                SqlStatementEvent.Purpose purpose,
                                long executeNanos)
Creates a SqlStatementExecuteEvent.

Parameters:
timestamp - Timestamp
statementId - Statement id
locus - Locus of event
sql - SQL
purpose - Why Mondrian is executing this statement
executeNanos - Execution time
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