Uses of Interface
com.alibaba.ttl.TtlCopier
-
Packages that use TtlCopier Package Description com.alibaba.ttl TTL API. -
-
Uses of TtlCopier in com.alibaba.ttl
Classes in com.alibaba.ttl that implement TtlCopier Modifier and Type Class Description classTransmittableThreadLocal<T>TransmittableThreadLocal(TTL) can transmit the value from the thread of submitting task to the thread of executing task even using thread pooling components.Methods in com.alibaba.ttl with parameters of type TtlCopier Modifier and Type Method Description static <T> booleanTransmittableThreadLocal.Transmitter. registerThreadLocal(ThreadLocal<T> threadLocal, TtlCopier<T> copier)Register theThreadLocal(including subclassInheritableThreadLocal) instances to enhance the Transmittable ability for the existedThreadLocalinstances.static <T> booleanTransmittableThreadLocal.Transmitter. registerThreadLocal(ThreadLocal<T> threadLocal, TtlCopier<T> copier, boolean force)Register theThreadLocal(including subclassInheritableThreadLocal) instances to enhance the Transmittable ability for the existedThreadLocalinstances.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.
-