public class HydraThreadLocal extends Object
ThreadLocal variables for hydra
threads. A HydraThreadLocal is available to all threads hosted by the
current hydra thread, for example, RMI threads invoked to execute tasks.
HydraThreadLocal objects are typically private static variables in
classes that wish to associate state with a hydra client. For example,
they can be initialized in an INITTASK, used and modified in a TASK,
and validated in a CLOSETASK.| Constructor and Description |
|---|
HydraThreadLocal()
Creates a HydraThreadLocal variable.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get() |
protected Object |
initialValue() |
void |
set(Object value) |
protected Object initialValue()
ThreadLocal.initialValue()public Object get()
ThreadLocal.get()public void set(Object value)
ThreadLocal.set(T)Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.