Uses of Class
java.lang.ScopedValue
Packages that use ScopedValue
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
- 
Uses of ScopedValue in java.langMethods in java.lang that return ScopedValueModifier and TypeMethodDescriptionstatic <T> ScopedValue<T> ScopedValue.newInstance()Creates a scoped value that is initially unbound for all threads.Methods in java.lang with parameters of type ScopedValueModifier and TypeMethodDescription<T> TScopedValue.Carrier.get(ScopedValue<T> key) Returns the value of aScopedValuein this mapping.ScopedValue.Carrier.where(ScopedValue<T> key, T value) Returns a newCarrierwith the mappings from this carrier plus a new mapping fromkeytovalue.static <T> ScopedValue.CarrierScopedValue.where(ScopedValue<T> key, T value) Creates a newCarrierwith a single mapping of aScopedValuekey to a value.