mondrian.server.monitor
Class Event

java.lang.Object
  extended by mondrian.server.monitor.Event
All Implemented Interfaces:
Message
Direct Known Subclasses:
ConnectionEvent, ExecutionEvent, SqlStatementEvent, StatementEvent

public abstract class Event
extends Object
implements Message

Base class for an event of interest.

This class, and subclasses, is an immutable but serializable.


Field Summary
 long timestamp
          When the event occurred.
 
Constructor Summary
Event(long timestamp)
          Creates an Event.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mondrian.server.monitor.Message
accept
 

Field Detail

timestamp

public final long timestamp
When the event occurred. Milliseconds since the epoch UTC, just like System.currentTimeMillis().

Constructor Detail

Event

public Event(long timestamp)
Creates an Event.

Parameters:
timestamp - Timestamp

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