com.atlassian.core.logging
Class ThreadLocalErrorCollection
java.lang.Object
com.atlassian.core.logging.ThreadLocalErrorCollection
public class ThreadLocalErrorCollection
- extends Object
A simple ThreadLocal stack to prevent circular content includes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
- See Also:
- Constant Field Values
ThreadLocalErrorCollection
public ThreadLocalErrorCollection()
add
public static void add(long timeInMillis,
org.apache.log4j.spi.LoggingEvent e)
clear
public static void clear()
getList
public static List getList()
isEmpty
public static boolean isEmpty()
getLimit
public static int getLimit()
setLimit
public static void setLimit(int limit)
isEnabled
public static boolean isEnabled()
enable
public static void enable()
disable
public static void disable()
Copyright © 2015 Atlassian. All rights reserved.