Package | Description |
---|---|
io.vertx.core.spi.context.storage |
Modifier and Type | Field and Description |
---|---|
static AccessMode |
AccessMode.CONCURRENT
This access mode provides concurrent access to context local storage with thread safety and atomicity.
|
Modifier and Type | Method and Description |
---|---|
default T |
ContextLocal.get(Context context,
AccessMode accessMode)
Like
ContextLocal.get(Context) but with an accessMode . |
default T |
ContextLocal.get(Context context,
AccessMode accessMode,
java.util.function.Supplier<? extends T> initialValueSupplier)
Like
ContextLocal.get(Context, Supplier) but with an accessMode . |
default void |
ContextLocal.put(Context context,
AccessMode accessMode,
T value)
Like
#put(Context, T) but with an accessMode . |
default void |
ContextLocal.remove(Context context,
AccessMode accessMode)
Like
ContextLocal.remove(Context) but with an accessMode . |
Copyright © 2024 Eclipse. All rights reserved.