public class ThreadLocalTimer extends Object
RequestLoggingFilter
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Long> |
startTimeThreadLocal
startTimeThreadLocal ThreadLocal
|
Constructor and Description |
---|
ThreadLocalTimer() |
Modifier and Type | Method and Description |
---|---|
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()
|
public static ThreadLocal<Long> startTimeThreadLocal
public ThreadLocalTimer()
public static long getStartTime()
public static void setStartTime(long dateTime)
dateTime
- long since epochpublic static void unset()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.