Class TracingInfo.Message

  • Enclosing class:
    TracingInfo

    public static class TracingInfo.Message
    extends java.lang.Object
    A trace message. It implements message formatting.
    • Field Detail

      • duration

        private final long duration
        In nanos.
      • timestamp

        private final long timestamp
        In nanos.
      • text

        private final java.lang.String text
        Already formatted text.
    • Constructor Detail

      • Message

        public Message​(TracingLogger.Event event,
                       long duration,
                       java.lang.String[] args)
        Create a new trace message.
        Parameters:
        event - trace event.
        duration - event duration.
        args - message arguments.
    • Method Detail

      • getDuration

        private long getDuration()
      • getTimestamp

        private long getTimestamp()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object