ThreadLocalCacheAccessor@Deprecated public class ThreadLocalCache extends Object
| Constructor and Description |
|---|
ThreadLocalCache()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
dispose()
Deprecated.
Clean up the cache for the current thread.
|
static void |
flush()
Deprecated.
Flush the contents of the cache, but do not clean up the cache itself.
|
static Object |
get(Object key)
Deprecated.
Retrieve an object from the cache
|
static void |
init()
Deprecated.
Initialise the cache for the current thread
|
static void |
put(Object key,
Object value)
Deprecated.
Put an object in the cache
|
public static void put(Object key, Object value)
key - the cache keyvalue - the value to cachepublic static Object get(Object key)
key - the cache keypublic static void init()
public static void dispose()
public static void flush()
Copyright © 2003–2017 Atlassian. All rights reserved.