public class RuntimeContext extends Object
| Constructor and Description |
|---|
RuntimeContext(ThreadLocal<RuntimeContext> contextThreadLocal) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(RuntimeContextSnapshot snapshot) |
RuntimeContextSnapshot |
capture() |
Object |
get(Object key) |
<T> T |
get(Object key,
Class<T> type) |
void |
put(Object key,
Object value) |
void |
remove(Object key) |
public RuntimeContext(ThreadLocal<RuntimeContext> contextThreadLocal)
public void remove(Object key)
public RuntimeContextSnapshot capture()
public void accept(RuntimeContextSnapshot snapshot)
Copyright © 2019 The Apache Software Foundation. All rights reserved.