mondrian.server.monitor
Class Event
java.lang.Object
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. |
| 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 |
timestamp
public final long timestamp
- When the event occurred. Milliseconds since the epoch UTC, just like
System.currentTimeMillis().
Event
public Event(long timestamp)
- Creates an Event.
- Parameters:
timestamp - Timestamp