Class BaseEventLog
java.lang.Object
org.infinispan.util.logging.events.impl.BaseEventLog
- All Implemented Interfaces:
Comparable<EventLog>,EventLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseEventLog(Instant when, EventLogLevel level, EventLogCategory category, String message) BaseEventLog(Instant when, EventLogLevel level, EventLogCategory category, String message, String detail, String context, String who, String scope) -
Method Summary
-
Field Details
-
when
-
level
-
category
-
message
-
detail
-
who
-
context
-
scope
-
-
Constructor Details
-
BaseEventLog
public BaseEventLog(Instant when, EventLogLevel level, EventLogCategory category, String message, String detail, String context, String who, String scope) -
BaseEventLog
-
-
Method Details
-
getWhen
-
getLevel
-
getMessage
- Specified by:
getMessagein interfaceEventLog- Returns:
- the message of the event.
-
getCategory
- Specified by:
getCategoryin interfaceEventLog- Returns:
- the category of the event
-
getDetail
-
getWho
-
getContext
- Specified by:
getContextin interfaceEventLog- Returns:
- the context of the event (e.g. the name of a cache).
-
getScope
- Specified by:
getScopein interfaceEventLog- Returns:
- the scope of the event. If the event is specific to a node in the cluster, then this
will be the node's address. If the event is global to the entire cluster this will be
Optional.empty()
-
compareTo
- Specified by:
compareToin interfaceComparable<EventLog>
-
toString
-