Class DiagnosticEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String threadName
      Name of allocating thread.
      long timestamp
      Event creation time.
    • Constructor Summary

      Constructors 
      Constructor Description
      DiagnosticEvent()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.Enum<?> getType()
      Returns event type discriminator.
      abstract java.util.Map<java.lang.String,​java.io.Serializable> toMap()
      Returns map of key-value pairs containing relevant event details.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestamp

        public final long timestamp
        Event creation time.
      • threadName

        public final java.lang.String threadName
        Name of allocating thread.
    • Constructor Detail

      • DiagnosticEvent

        public DiagnosticEvent()
    • Method Detail

      • getType

        public abstract java.lang.Enum<?> getType()
        Returns event type discriminator. This will usually be a enum value.
      • toMap

        public abstract java.util.Map<java.lang.String,​java.io.Serializable> toMap()
        Returns map of key-value pairs containing relevant event details. Values can be complex objects like other maps, but must be Serializable, as returned values may be consumed by external clients. It's strongly recommended to stick to standard Java classes to avoid distributing custom classes to clients and also prevent potential class versioning conflicts.