Package 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 java.lang.Object implements Message
Base class for an event of interest.This class, and subclasses, is an immutable but serializable.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
stack
WhenRolapUtil.MONITOR_LOGGER
is set to TRACE, this field will contain the stack of the code which created this event.long
timestamp
When the event occurred.
-
Constructor Summary
Constructors Constructor Description Event(long timestamp)
Creates an Event.
-
-
-
Field Detail
-
timestamp
public final long timestamp
When the event occurred. Milliseconds since the epoch UTC, just likeSystem.currentTimeMillis()
.
-
stack
public final java.lang.String stack
WhenRolapUtil.MONITOR_LOGGER
is set to TRACE, this field will contain the stack of the code which created this event.
-
-