A B C D E G H I K P R S T U W 
All Classes All Packages

A

afterExecute() - Method in class com.alibaba.ttl.TransmittableThreadLocal
Callback method after task object(TtlRunnable/TtlCallable) execute.

B

beforeExecute() - Method in class com.alibaba.ttl.TransmittableThreadLocal
Callback method before task object(TtlRunnable/TtlCallable) execute.

C

call() - Method in class com.alibaba.ttl.TtlCallable
wrap method Callable.call().
cancel() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
 
capture() - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Capture all TransmittableThreadLocal and registered ThreadLocal values in the current thread.
clear() - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Clear all TransmittableThreadLocal and registered ThreadLocal values in the current thread, and return the backup TransmittableThreadLocal values in the current thread before clear.
com.alibaba.ttl - package com.alibaba.ttl
TTL API.
com.alibaba.ttl.spi - package com.alibaba.ttl.spi
TTL SPI
com.alibaba.ttl.threadpool - package com.alibaba.ttl.threadpool
Thread pool wrap/decoration utils.
com.alibaba.ttl.threadpool.agent - package com.alibaba.ttl.threadpool.agent
TTL Agent.
compute() - Method in class com.alibaba.ttl.TtlRecursiveAction
The main computation performed by this task.
compute() - Method in class com.alibaba.ttl.TtlRecursiveTask
The main computation performed by this task.
copy(T) - Method in class com.alibaba.ttl.TransmittableThreadLocal
Computes the value for this transmittable thread-local variable as a function of the source thread's value at the time the task Object is created.
copy(T) - Method in interface com.alibaba.ttl.TtlCopier
Computes the value for TransmittableThreadLocal or registered ThreadLocal(registered by method Transmitter#registerThreadLocal) as a function of the source thread's value at the time the task Object is created.

D

DisableInheritableForkJoinWorkerThreadFactory - Interface in com.alibaba.ttl.threadpool
DisableInheritableThreadFactory - Interface in com.alibaba.ttl.threadpool
Disable inheritable ThreadFactory.

E

equals(Object) - Method in class com.alibaba.ttl.TtlCallable
 
equals(Object) - Method in class com.alibaba.ttl.TtlRunnable
 
equals(Object) - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
 
exec() - Method in class com.alibaba.ttl.TtlRecursiveAction
Implements execution conventions for RecursiveActions.
exec() - Method in class com.alibaba.ttl.TtlRecursiveTask
Implements execution conventions for RecursiveTask.

G

get() - Method in class com.alibaba.ttl.TransmittableThreadLocal
get(Runnable) - Static method in class com.alibaba.ttl.TtlRunnable
Factory method, wrap input Runnable to TtlRunnable.
get(Runnable, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
Factory method, wrap input Runnable to TtlRunnable.
get(Runnable, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
Factory method, wrap input Runnable to TtlRunnable.
get(Callable<T>) - Static method in class com.alibaba.ttl.TtlCallable
Factory method, wrap input Callable to TtlCallable.
get(Callable<T>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
Factory method, wrap input Callable to TtlCallable.
get(Callable<T>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
Factory method, wrap input Callable to TtlCallable.
get(TimerTask) - Static method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
Factory method, wrap input TimerTask to TtlTimerTask.
get(TimerTask, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
Factory method, wrap input TimerTask to TtlTimerTask.
get(TimerTask, boolean, boolean) - Static method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
Factory method, wrap input TimerTask to TtlTimerTask.
getCallable() - Method in class com.alibaba.ttl.TtlCallable
return the original/underneath Callable.
getDefaultDisableInheritableForkJoinWorkerThreadFactory() - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
Wrapper of ForkJoinPool.defaultForkJoinWorkerThreadFactory, disable inheritable.
getDefaultDisableInheritableThreadFactory() - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Wrapper of Executors.defaultThreadFactory(), disable inheritable.
getDisableInheritableForkJoinWorkerThreadFactory(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
Wrapper of ForkJoinPool.ForkJoinWorkerThreadFactory, disable inheritable.
getDisableInheritableThreadFactory(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Wrapper of ThreadFactory, disable inheritable.
getRawResult() - Method in class com.alibaba.ttl.TtlRecursiveAction
getRawResult() - Method in class com.alibaba.ttl.TtlRecursiveTask
getRunnable() - Method in class com.alibaba.ttl.TtlRunnable
return original/unwrapped Runnable.
gets(Collection<? extends Runnable>) - Static method in class com.alibaba.ttl.TtlRunnable
wrap input Runnable Collection to TtlRunnable Collection.
gets(Collection<? extends Runnable>, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
wrap input Runnable Collection to TtlRunnable Collection.
gets(Collection<? extends Runnable>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlRunnable
wrap input Runnable Collection to TtlRunnable Collection.
gets(Collection<? extends Callable<T>>) - Static method in class com.alibaba.ttl.TtlCallable
wrap input Callable Collection to TtlCallable Collection.
gets(Collection<? extends Callable<T>>, boolean) - Static method in class com.alibaba.ttl.TtlCallable
wrap input Callable Collection to TtlCallable Collection.
gets(Collection<? extends Callable<T>>, boolean, boolean) - Static method in class com.alibaba.ttl.TtlCallable
wrap input Callable Collection to TtlCallable Collection.
getTimerTask() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
return original/unwrapped TimerTask.
getTtlAttachment(String) - Method in interface com.alibaba.ttl.spi.TtlAttachments
get the TTL attachment for TTL tasks
getTtlAttachment(String) - Method in class com.alibaba.ttl.spi.TtlAttachmentsDelegate
 
getTtlAttachment(String) - Method in class com.alibaba.ttl.TtlCallable
getTtlAttachment(String) - Method in class com.alibaba.ttl.TtlRunnable
getTtlExecutor(Executor) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
TransmittableThreadLocal Wrapper of Executor, transmit the TransmittableThreadLocal from the task submit time of Runnable to the execution time of Runnable.
getTtlExecutorService(ExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
TransmittableThreadLocal Wrapper of ExecutorService, transmit the TransmittableThreadLocal from the task submit time of Runnable or Callable to the execution time of Runnable or Callable.
getTtlRunnableUnwrapComparator(Comparator<Runnable>) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Wrapper of Comparator<Runnable> which unwrap TtlRunnable before compare, aka TtlRunnableUnwrapComparator.
getTtlRunnableUnwrapComparatorForComparableRunnable() - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
TtlRunnableUnwrapComparator that compares Comparable objects.
getTtlScheduledExecutorService(ScheduledExecutorService) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
TransmittableThreadLocal Wrapper of ScheduledExecutorService, transmit the TransmittableThreadLocal from the task submit time of Runnable or Callable to the execution time of Runnable or Callable.

H

hashCode() - Method in class com.alibaba.ttl.TtlCallable
 
hashCode() - Method in class com.alibaba.ttl.TtlRunnable
 
hashCode() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
 

I

isDisableInheritableForkJoinWorkerThreadFactory(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
isDisableInheritableForThreadPool() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
Whether disable inheritable for thread pool is enhanced by ttl agent, check TtlAgent.isTtlAgentLoaded() first.
isDisableInheritableThreadFactory(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
isEnableTimerTask() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
Whether timer task is enhanced by ttl agent, check TtlAgent.isTtlAgentLoaded() first.
isTtlAgentLoaded() - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
Whether TTL agent is loaded.
isTtlRunnableUnwrapComparator(Comparator<Runnable>) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
check the Comparator<Runnable> is a wrapper TtlRunnableUnwrapComparator or not.
isTtlWrapper(T) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
check the executor is a TTL executor wrapper or not.
isWrapper(T) - Static method in class com.alibaba.ttl.TtlUnwrap
check the input object is a TtlWrapper or not.

K

KEY_IS_AUTO_WRAPPER - Static variable in interface com.alibaba.ttl.spi.TtlAttachments
The attachment key of TTL task, weather this task is a auto wrapper task.

P

premain(String, Instrumentation) - Static method in class com.alibaba.ttl.threadpool.agent.TtlAgent
Entrance method of TTL Java Agent.

R

registerThreadLocal(ThreadLocal<T>, TtlCopier<T>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Register the ThreadLocal(including subclass InheritableThreadLocal) instances to enhance the Transmittable ability for the existed ThreadLocal instances.
registerThreadLocal(ThreadLocal<T>, TtlCopier<T>, boolean) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Register the ThreadLocal(including subclass InheritableThreadLocal) instances to enhance the Transmittable ability for the existed ThreadLocal instances.
registerThreadLocalWithShadowCopier(ThreadLocal<T>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Register the ThreadLocal(including subclass InheritableThreadLocal) instances to enhance the Transmittable ability for the existed ThreadLocal instances.
registerThreadLocalWithShadowCopier(ThreadLocal<T>, boolean) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Register the ThreadLocal(including subclass InheritableThreadLocal) instances to enhance the Transmittable ability for the existed ThreadLocal instances.
remove() - Method in class com.alibaba.ttl.TransmittableThreadLocal
replay(Object) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Replay the captured TransmittableThreadLocal and registered ThreadLocal values from TransmittableThreadLocal.Transmitter.capture(), and return the backup TransmittableThreadLocal values in the current thread before replay.
restore(Object) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
run() - Method in class com.alibaba.ttl.TtlRunnable
wrap method Runnable.run().
run() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
wrap method TimerTask.run().
runCallableWithCaptured(Object, Callable<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
runCallableWithClear(Callable<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
runSupplierWithCaptured(Object, Supplier<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
runSupplierWithClear(Supplier<R>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter

S

set(T) - Method in class com.alibaba.ttl.TransmittableThreadLocal
setRawResult(Void) - Method in class com.alibaba.ttl.TtlRecursiveAction
setRawResult(V) - Method in class com.alibaba.ttl.TtlRecursiveTask
setTtlAttachment(String, Object) - Method in interface com.alibaba.ttl.spi.TtlAttachments
set the TTL attachments for TTL tasks
setTtlAttachment(String, Object) - Method in class com.alibaba.ttl.spi.TtlAttachmentsDelegate
 
setTtlAttachment(String, Object) - Method in class com.alibaba.ttl.TtlCallable
setTtlAttachment(String, Object) - Method in class com.alibaba.ttl.TtlRunnable

T

toString() - Method in class com.alibaba.ttl.TtlCallable
 
toString() - Method in class com.alibaba.ttl.TtlRunnable
 
toString() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
 
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class com.alibaba.ttl.threadpool.agent.TtlTransformer
 
TransmittableThreadLocal<T> - Class in com.alibaba.ttl
TransmittableThreadLocal(TTL) can transmit value from the thread of submitting task to the thread of executing task.
TransmittableThreadLocal() - Constructor for class com.alibaba.ttl.TransmittableThreadLocal
Default constructor.
TransmittableThreadLocal(boolean) - Constructor for class com.alibaba.ttl.TransmittableThreadLocal
Constructor, create a TransmittableThreadLocal instance with parameter disableIgnoreNullValueSemantics to control "Ignore-Null-Value Semantics".
TransmittableThreadLocal.Transmitter - Class in com.alibaba.ttl
TtlAgent - Class in com.alibaba.ttl.threadpool.agent
TTL Java Agent.
TtlAttachments - Interface in com.alibaba.ttl.spi
The TTL attachments for TTL tasks, eg: TtlRunnable, TtlCallable.
TtlAttachmentsDelegate - Class in com.alibaba.ttl.spi
TtlAttachments delegate/implementation.
TtlAttachmentsDelegate() - Constructor for class com.alibaba.ttl.spi.TtlAttachmentsDelegate
 
TtlCallable<V> - Class in com.alibaba.ttl
TtlCallable decorate Callable, so as to get TransmittableThreadLocal and transmit it to the time of Callable execution, needed when use Callable to thread pool.
TtlCopier<T> - Interface in com.alibaba.ttl
TtlEnhanced - Interface in com.alibaba.ttl.spi
a Ttl marker/tag interface, for ttl enhanced class, for example TTL wrapper like TtlRunnable, TtlCallable.
TtlExecutors - Class in com.alibaba.ttl.threadpool
Util methods for TTL wrapper of jdk executors.
TtlForkJoinPoolHelper - Class in com.alibaba.ttl.threadpool
Util methods to wrap/unwrap/check methods to disable Inheritable for ForkJoinPool.ForkJoinWorkerThreadFactory.
TtlRecursiveAction - Class in com.alibaba.ttl
A recursive resultless ForkJoinTask enhanced by TransmittableThreadLocal.
TtlRecursiveAction() - Constructor for class com.alibaba.ttl.TtlRecursiveAction
 
TtlRecursiveTask<V> - Class in com.alibaba.ttl
A recursive result-bearing ForkJoinTask enhanced by TransmittableThreadLocal.
TtlRecursiveTask() - Constructor for class com.alibaba.ttl.TtlRecursiveTask
 
TtlRunnable - Class in com.alibaba.ttl
TtlRunnable decorate Runnable, so as to get TransmittableThreadLocal and transmit it to the time of Runnable execution, needed when use Runnable to thread pool.
TtlTimerTask - Class in com.alibaba.ttl
Deprecated.
TtlTransformer - Class in com.alibaba.ttl.threadpool.agent
TTL ClassFileTransformer of Java Agent
TtlUnwrap - Class in com.alibaba.ttl
Util methods for TTL Wrapper: unwrap TTL Wrapper and check TTL Wrapper.
TtlWrapper<T> - Interface in com.alibaba.ttl.spi
Ttl Wrapper interface.
TtlWrappers - Class in com.alibaba.ttl
Util methods for TTL Wrapper: wrap common Functional Interface.

U

unregisterThreadLocal(ThreadLocal<T>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal.Transmitter
Unregister the ThreadLocal instances to remove the Transmittable ability for the ThreadLocal instances.
unwrap() - Method in interface com.alibaba.ttl.spi.TtlWrapper
unwrap TtlWrapper to the original/underneath one.
unwrap() - Method in interface com.alibaba.ttl.threadpool.DisableInheritableForkJoinWorkerThreadFactory
Unwrap DisableInheritableThreadFactory to the original/underneath one.
unwrap() - Method in interface com.alibaba.ttl.threadpool.DisableInheritableThreadFactory
Unwrap DisableInheritableThreadFactory to the original/underneath one.
unwrap() - Method in class com.alibaba.ttl.TtlCallable
unwrap to the original/underneath Callable.
unwrap() - Method in class com.alibaba.ttl.TtlRunnable
unwrap to original/unwrapped Runnable.
unwrap() - Method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
unwrap to original/unwrapped TimerTask.
unwrap(Runnable) - Static method in class com.alibaba.ttl.TtlRunnable
Unwrap TtlRunnable to the original/underneath one.
unwrap(Comparator<Runnable>) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Unwrap TtlRunnableUnwrapComparator to the original/underneath Comparator<Runnable>.
unwrap(Callable<T>) - Static method in class com.alibaba.ttl.TtlCallable
Unwrap TtlCallable to the original/underneath one.
unwrap(ForkJoinPool.ForkJoinWorkerThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlForkJoinPoolHelper
Unwrap DisableInheritableForkJoinWorkerThreadFactory to the original/underneath one.
unwrap(ThreadFactory) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Unwrap DisableInheritableThreadFactory to the original/underneath one.
unwrap(TimerTask) - Static method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
Unwrap TtlTimerTask to the original/underneath one.
unwrap(T) - Static method in class com.alibaba.ttl.threadpool.TtlExecutors
Unwrap TTL executor wrapper to the original/underneath one.
unwrap(T) - Static method in class com.alibaba.ttl.TtlUnwrap
Generic unwrap method, unwrap TtlWrapper to the original/underneath one.
unwraps(Collection<? extends Runnable>) - Static method in class com.alibaba.ttl.TtlRunnable
Unwrap TtlRunnable to the original/underneath one for collection.
unwraps(Collection<? extends Callable<T>>) - Static method in class com.alibaba.ttl.TtlCallable
Unwrap TtlCallable to the original/underneath one.
unwraps(Collection<? extends TimerTask>) - Static method in class com.alibaba.ttl.TtlTimerTask
Deprecated.
Unwrap TtlTimerTask to the original/underneath one.

W

withInitial(Supplier<? extends S>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal
Creates a transmittable thread local variable.
withInitialAndCopier(Supplier<? extends S>, TtlCopier<S>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal
Creates a transmittable thread local variable.
withInitialAndCopier(Supplier<? extends S>, TtlCopier<S>, TtlCopier<S>) - Static method in class com.alibaba.ttl.TransmittableThreadLocal
Creates a transmittable thread local variable.
wrap(BiConsumer<T, U>) - Static method in class com.alibaba.ttl.TtlWrappers
Deprecated.
overload methods using the same name wrap is not readable and have the type inference problems in some case; so use TtlWrappers.wrapBiConsumer(BiConsumer) instead.
wrap(BiFunction<T, U, R>) - Static method in class com.alibaba.ttl.TtlWrappers
Deprecated.
overload methods using the same name wrap is not readable and have the type inference problems in some case; so use TtlWrappers.wrapBiFunction(BiFunction) instead.
wrap(Consumer<T>) - Static method in class com.alibaba.ttl.TtlWrappers
Deprecated.
overload methods using the same name wrap is not readable and have the type inference problems in some case; so use TtlWrappers.wrapConsumer(java.util.function.Consumer) instead.
wrap(Function<T, R>) - Static method in class com.alibaba.ttl.TtlWrappers
Deprecated.
overload methods using the same name wrap is not readable and have the type inference problems in some case; so use TtlWrappers.wrapFunction(Function) instead.
wrap(Supplier<T>) - Static method in class com.alibaba.ttl.TtlWrappers
Deprecated.
overload methods using the same name wrap is not readable and have the type inference problems in some case; so use TtlWrappers.wrapSupplier(Supplier) instead.
wrapBiConsumer(BiConsumer<T, U>) - Static method in class com.alibaba.ttl.TtlWrappers
wrap BiConsumer to TTL wrapper.
wrapBiFunction(BiFunction<T, U, R>) - Static method in class com.alibaba.ttl.TtlWrappers
wrap BiFunction to TTL wrapper.
wrapConsumer(Consumer<T>) - Static method in class com.alibaba.ttl.TtlWrappers
wrap Consumer to TTL wrapper.
wrapFunction(Function<T, R>) - Static method in class com.alibaba.ttl.TtlWrappers
wrap Function to TTL wrapper.
wrapSupplier(Supplier<T>) - Static method in class com.alibaba.ttl.TtlWrappers
wrap Supplier to TTL wrapper.
A B C D E G H I K P R S T U W 
All Classes All Packages