| Package | Description |
|---|---|
| net.tascalate.concurrent.var |
| Modifier and Type | Method and Description |
|---|---|
static <T> ContextVar<T> |
ContextVar.define(String name,
Supplier<? extends T> reader,
Consumer<? super T> writer) |
static <T> ContextVar<T> |
ContextVar.define(String name,
Supplier<? extends T> reader,
Consumer<? super T> writer,
Runnable eraser) |
static <T> ContextVar<T> |
ContextVar.define(Supplier<? extends T> reader,
Consumer<? super T> writer) |
static <T> ContextVar<T> |
ContextVar.define(Supplier<? extends T> reader,
Consumer<? super T> writer,
Runnable eraser) |
static <T> ContextVar<T> |
ContextVar.from(ThreadLocal<T> tl) |
| Modifier and Type | Method and Description |
|---|---|
static ContextTrampoline |
ContextTrampoline.relay(ContextVar<?>... contextVars) |
static ContextTrampoline |
ContextTrampoline.relay(ContextVar<?> contextVar) |
| Modifier and Type | Method and Description |
|---|---|
static ContextTrampoline |
ContextTrampoline.relay(List<? extends ContextVar<?>> contextVars) |
Copyright © 2021. All rights reserved.