Package com.avoka.core.util
Class ProfilingMessage
java.lang.Object
com.avoka.core.util.ProfilingMessage
Provides a profiling message builder class.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAppend the given message to the profiling message builder.voidappendTime(String message) Append the given message to the profiling message builder, and the total time since elapsed last call to appendTime.voidappendTotalTime(String message) Append the given message to the profiling message builder, and the total time since elapsed created.Return the total time elapsed since profiling message was created.toString()
-
Constructor Details
-
ProfilingMessage
public ProfilingMessage()
-
-
Method Details
-
append
Append the given message to the profiling message builder.- Parameters:
message- the message to append (required)
-
appendTime
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
Append the given message to the profiling message builder, and the total time since elapsed created.- Parameters:
message- the message to append (required)
-
getTotalTime
Return the total time elapsed since profiling message was created.- Returns:
- the total time elapsed since profiling message was created.
-
toString
-