java.lang.Object
com.sun.faces.util.Timer
This class is a simple wrapper for timing method calls. The traditional method is to add two variables, start, and
stop, and display the difference of these values. Encapsulates the process.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Timer
static Timer
getInstance
(Level logLevel) void
Log the timing result.void
Start timing.void
Stop timing.