public class ThreadLocalErrorCollection extends Object
As of 4.6.24 ThreadLocal is replaced with WorkContextLocal
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LIMIT |
| Constructor and Description |
|---|
ThreadLocalErrorCollection() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(long timeInMillis,
org.apache.log4j.spi.LoggingEvent e) |
static void |
clear() |
static void |
disable() |
static void |
enable() |
static int |
getLimit() |
static List |
getList() |
static boolean |
isEmpty() |
static boolean |
isEnabled()
The method only returns true if enable() was called before.
|
static void |
setLimit(int limit) |
public static final int DEFAULT_LIMIT
public static void add(long timeInMillis,
org.apache.log4j.spi.LoggingEvent e)
public static void clear()
public static List getList()
public static boolean isEmpty()
public static int getLimit()
public static void setLimit(int limit)
public static boolean isEnabled()
public static void enable()
public static void disable()
Copyright © 2003–2017 Atlassian. All rights reserved.