|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.util.ThreadLocalTimer
public class ThreadLocalTimer
Thread Local Timer for Tread Safe Request Logging RequestLoggingFilter
Field Summary | |
---|---|
static ThreadLocal<Long> |
startTimeThreadLocal
startTimeThreadLocal ThreadLocal |
Constructor Summary | |
---|---|
ThreadLocalTimer()
|
Method Summary | |
---|---|
static long |
getStartTime()
Returns startTimeThreadLocal as long since epoch |
static void |
setStartTime(long dateTime)
Sets startTimeThreadLocal to the given long since epoch. |
static void |
unset()
Cleanup, startTimeThreadLocal.remove() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ThreadLocal<Long> startTimeThreadLocal
Constructor Detail |
---|
public ThreadLocalTimer()
Method Detail |
---|
public static long getStartTime()
public static void setStartTime(long dateTime)
dateTime
- long since epochpublic static void unset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |