Uses of Package
com.alibaba.ttl
Packages that use com.alibaba.ttl
-
Classes in com.alibaba.ttl used by com.alibaba.ttlClassDescription
TransmittableThreadLocal
(TTL
) can transmit the value from the thread of submitting task to the thread of executing task even using thread pooling components.The transmittee is the extension point for otherThreadLocal
s which are registered byregisterTransmittee
method.TtlCallable
decorateCallable
to getTransmittableThreadLocal
value and transmit it to the time ofCallable
execution, needed when useCallable
to thread pool.TtlCopier
copies the value whenTransmitter#capture()
, use the copied value whenTransmitter#replay(Object)
.TtlRunnable
decorateRunnable
to getTransmittableThreadLocal
value and transmit it to the time ofRunnable
execution, needed when useRunnable
to thread pool.Deprecated.
TtlRunnable
,ScheduledExecutorService
instead ofTimer
,TimerTask
.