public abstract class Event extends Object implements Message
This class, and subclasses, is an immutable but serializable.
Modifier and Type | Field and Description |
---|---|
String |
stack
When
RolapUtil.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 and Description |
---|
Event(long timestamp)
Creates an Event.
|
Modifier and Type | Method and Description |
---|---|
void |
setContextMap()
Sets the MDC context into the current thread
|
public final long timestamp
System.currentTimeMillis()
.public final String stack
RolapUtil.MONITOR_LOGGER
is set to TRACE, this field will contain the stack of the code which created
this event.public Event(long timestamp)
timestamp
- Timestamppublic void setContextMap()
Message
setContextMap
in interface Message
Copyright © 2021 Hitachi Vantara. All rights reserved.