Class ProfilingMessage

java.lang.Object
com.avoka.core.util.ProfilingMessage

public class ProfilingMessage extends Object
Provides a profiling message builder class.
Since:
4.0.0
  • Constructor Details

    • ProfilingMessage

      public ProfilingMessage()
  • Method Details

    • append

      public void append(String message)
      Append the given message to the profiling message builder.
      Parameters:
      message - the message to append (required)
    • appendTime

      public void appendTime(String message)
      Append the given message to the profiling message builder, and the total time since elapsed last call to appendTime.
      Parameters:
      message - the message to append (required)
    • appendTotalTime

      public void appendTotalTime(String message)
      Append the given message to the profiling message builder, and the total time since elapsed created.
      Parameters:
      message - the message to append (required)
    • getTotalTime

      public Long getTotalTime()
      Return the total time elapsed since profiling message was created.
      Returns:
      the total time elapsed since profiling message was created.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      the profiling message string