Uses of Class
com.alibaba.ttl.TransmittableThreadLocal
Packages that use TransmittableThreadLocal
-
Uses of TransmittableThreadLocal in com.alibaba.ttl
Methods in com.alibaba.ttl that return TransmittableThreadLocalModifier and TypeMethodDescriptionstatic <S> TransmittableThreadLocal<S>
TransmittableThreadLocal.withInitial
(Supplier<? extends S> supplier) Creates a transmittable thread local variable.static <S> TransmittableThreadLocal<S>
TransmittableThreadLocal.withInitialAndCopier
(Supplier<? extends S> supplier, TtlCopier<S> copierForChildValueAndCopy) Creates a transmittable thread local variable.static <S> TransmittableThreadLocal<S>
TransmittableThreadLocal.withInitialAndCopier
(Supplier<? extends S> supplier, TtlCopier<S> copierForChildValue, TtlCopier<S> copierForCopy) Creates a transmittable thread local variable.