public class ThreadLocalInvoker<T> extends Object implements InvocationHandler
Constructor and Description |
---|
ThreadLocalInvoker() |
Modifier and Type | Method and Description |
---|---|
T |
get() |
ThreadLocal<T> |
getImmutableThreadLocal() |
ThreadLocal<T> |
getThreadLocal() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
set(T threadLocalInstance) |
public void set(T threadLocalInstance)
public T get()
public ThreadLocal<T> getThreadLocal()
public ThreadLocal<T> getImmutableThreadLocal()
Copyright © 2013 Oracle Corporation. All rights reserved.