Interface AuditableEvent


  • public interface AuditableEvent
    Observable event in the system.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Throwable cause()
      Return an exception or error (if any) which caused this event.
      long getTimestamp()
      Returns event timestamp as milliseconds from the epoch.
      Level level()  
      java.lang.String message()
      Return a text description of the event.
      java.util.Map<java.lang.String,​java.lang.Object> parameters()
      Return Map of parameters for given event.
      java.lang.String typeId()  
    • Method Detail

      • typeId

        java.lang.String typeId()
        Returns:
        Unique event type code. Must not be null.
      • message

        java.lang.String message()
        Return a text description of the event.

        Warning: Hazelcast doesn't guarantee content of the message. The value can change between versions.

        Returns:
        Event message
      • parameters

        java.util.Map<java.lang.String,​java.lang.Object> parameters()
        Return Map of parameters for given event.

        Warning: Hazelcast doesn't guarantee content of the parameters Map (parameters, names, values or types used). The value can change between versions.

        Returns:
        Event parameters. Must not be null.
      • level

        Level level()
        Returns:
        Importance level. Must not be null.
      • cause

        java.lang.Throwable cause()
        Return an exception or error (if any) which caused this event.
        Returns:
        event cause or null
      • getTimestamp

        long getTimestamp()
        Returns event timestamp as milliseconds from the epoch.
        Returns:
        event timestamp in millis