mondrian.server.monitor
Class ExecutionEndEvent

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

public class ExecutionEndEvent
extends ExecutionEvent

Event concerning the execution of an MDX statement.


Field Summary
 int cellCacheHitCount
           
 int cellCacheMissCount
           
 int cellCachePendingCount
           
 int phaseCount
           
 Execution.State state
           
 
Fields inherited from class mondrian.server.monitor.ExecutionEvent
connectionId, executionId, serverId, statementId
 
Fields inherited from class mondrian.server.monitor.Event
timestamp
 
Constructor Summary
ExecutionEndEvent(long timestamp, int serverId, int connectionId, long statementId, long executionId, int phaseCount, Execution.State state, int cellCacheHitCount, int cellCacheMissCount, int cellCachePendingCount)
          Creates an ExecutionEndEvent.
 
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

phaseCount

public final int phaseCount

state

public final Execution.State state

cellCacheHitCount

public final int cellCacheHitCount

cellCacheMissCount

public final int cellCacheMissCount

cellCachePendingCount

public final int cellCachePendingCount
Constructor Detail

ExecutionEndEvent

public ExecutionEndEvent(long timestamp,
                         int serverId,
                         int connectionId,
                         long statementId,
                         long executionId,
                         int phaseCount,
                         Execution.State state,
                         int cellCacheHitCount,
                         int cellCacheMissCount,
                         int cellCachePendingCount)
Creates an ExecutionEndEvent.

Parameters:
timestamp - Timestamp
serverId - Server id
connectionId - Connection id
statementId - Statement id
executionId - Execution id
phaseCount - Number of execution phases (trips to DBMS to populate cache)
state - State; indicates reason why execution terminated
cellCacheHitCount - Number of cell requests for which cell was already in cache
cellCacheMissCount - Number of cell requests for which cell was not in cache
cellCachePendingCount - Number of cell requests for which cell was
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