Interface EventLog

All Superinterfaces:
Comparable<EventLog>
All Known Implementing Classes:
BaseEventLog

public interface EventLog extends Comparable<EventLog>
EventLog describes an event log's attributes.
Since:
8.2
Author:
Tristan Tarrant
  • Method Details

    • getWhen

      Instant getWhen()
      Returns:
      the instant when the event occurred
    • getLevel

      EventLogLevel getLevel()
      Returns:
      the level of this event's severity
    • getMessage

      String getMessage()
      Returns:
      the message of the event.
    • getCategory

      EventLogCategory getCategory()
      Returns:
      the category of the event
    • getDetail

      Optional<String> getDetail()
      Returns:
      the detail of the event, e.g. a stack trace.
    • getWho

      Optional<String> getWho()
      Returns:
      the name of the principal if the event occurred within a security context.
    • getContext

      Optional<String> getContext()
      Returns:
      the context of the event (e.g. the name of a cache).
    • getScope

      Optional<String> getScope()
      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()