|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.util.PerformanceLog
public final class PerformanceLog
Wrapper for the Log4J performance log
Nested Class Summary | |
---|---|
static class |
PerformanceLog.PerformanceStopWatch
This class |
Constructor Summary | |
---|---|
PerformanceLog()
|
Method Summary | |
---|---|
static org.apache.log4j.Logger |
getInstance()
This method returns an instance of the logger object. |
static void |
logDuration(String message,
long duration)
This method logs the duration information for a given message. |
static PerformanceLog.PerformanceStopWatch |
startTimer(String message)
This method returns a new stop watch instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerformanceLog()
Method Detail |
---|
public static org.apache.log4j.Logger getInstance()
public static PerformanceLog.PerformanceStopWatch startTimer(String message)
message
-
public static void logDuration(String message, long duration)
message
- duration
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |