mondrian.server.monitor
Class ExecutionPhaseEvent

java.lang.Object
  extended by mondrian.server.monitor.Event
      extended by mondrian.server.monitor.ExecutionEvent
          extended by mondrian.server.monitor.ExecutionPhaseEvent
All Implemented Interfaces:
Message

public class ExecutionPhaseEvent
extends ExecutionEvent

Event signalling the start of a phase of executing an MDX statement.

A phase begins when Mondrian has tried to execute a statement and has determined that it needs cell values in order to give the complete, correct result. It generates one or more SQL statements to load those cells, and starts a new phase. Most MDX statements can be completed in 3 or fewer phases.


Field Summary
 int hitCount
           
 int missCount
           
 int pendingCount
           
 int phase
           
 
Fields inherited from class mondrian.server.monitor.ExecutionEvent
connectionId, executionId, serverId, statementId
 
Fields inherited from class mondrian.server.monitor.Event
timestamp
 
Constructor Summary
ExecutionPhaseEvent(long timestamp, int serverId, int connectionId, long statementId, long executionId, int phase, int hitCount, int missCount, int pendingCount)
          Creates an ExecutionPhaseEvent.
 
Method Summary
<T> T
accept(Visitor<T> visitor)
          Dispatches a call to the appropriate visit method on Visitor.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

phase

public final int phase

hitCount

public final int hitCount

missCount

public final int missCount

pendingCount

public final int pendingCount
Constructor Detail

ExecutionPhaseEvent

public ExecutionPhaseEvent(long timestamp,
                           int serverId,
                           int connectionId,
                           long statementId,
                           long executionId,
                           int phase,
                           int hitCount,
                           int missCount,
                           int pendingCount)
Creates an ExecutionPhaseEvent.

Parameters:
timestamp - Timestamp
serverId - Server id
connectionId - Connection id
statementId - Statement id
executionId - Execution id
phase - Phase
hitCount - Cache hits this phase
missCount - Cache misses this phase
pendingCount - Cache entries hit but not ready this phase
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