Package com.avoka.core.util
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 Summary
Constructors Constructor Description ProfilingMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(String message)
Append the given message to the profiling message builder.void
appendTime(String message)
Append the given message to the profiling message builder, and the total time since elapsed last call to appendTime.void
appendTotalTime(String message)
Append the given message to the profiling message builder, and the total time since elapsed created.Long
getTotalTime()
Return the total time elapsed since profiling message was created.String
toString()
-
-
-
Method Detail
-
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.
-
-