CentralizedThreadLocal
@Deprecated
public class CentralizedThreadLocal<T>
extends ThreadLocal<T>
Constructor and Description |
---|
CentralizedThreadLocal(boolean shortLived)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
clearLongLivedThreadLocals()
Deprecated.
|
static void |
clearShortLivedThreadLocals()
Deprecated.
|
protected T |
copy(T value)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
T |
get()
Deprecated.
|
static Map<CentralizedThreadLocal<?>,Object> |
getLongLivedThreadLocals()
Deprecated.
|
static Map<CentralizedThreadLocal<?>,Object> |
getShortLivedThreadLocals()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
remove()
Deprecated.
|
void |
set(T value)
Deprecated.
|
static void |
setThreadLocals(Map<CentralizedThreadLocal<?>,Object> longLivedThreadLocals,
Map<CentralizedThreadLocal<?>,Object> shortLivedThreadLocals)
Deprecated.
|
public CentralizedThreadLocal(boolean shortLived)
public static void clearLongLivedThreadLocals()
public static void clearShortLivedThreadLocals()
public static Map<CentralizedThreadLocal<?>,Object> getLongLivedThreadLocals()
public static Map<CentralizedThreadLocal<?>,Object> getShortLivedThreadLocals()
public static void setThreadLocals(Map<CentralizedThreadLocal<?>,Object> longLivedThreadLocals, Map<CentralizedThreadLocal<?>,Object> shortLivedThreadLocals)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void remove()
remove
in class ThreadLocal<T>